
I am trying to push a function to deployment from appwrite-cli to my local instance but getting the above mentioned error

@Support Please do help if anyone knows about this, I tried to upgrade my appwrite-cli to 6.2.0 as mentioned by @Joshi as it might be a version issues but having the same issue. (I was using appwrite cloud and had no issues pushing my functions there but only have these issues when using in localhost

Can you try creating a new function and then try the same procedure

the one im trying to do is a new function itself

And you created that after upgrading to 1.6.1?

yes

Maybe you need to migrate first. Have you executed the migrate command?

My appwrite instance is also a completely fresh one so i dont think that should be the issue

and yes i had tried migrating earlier when i had 1.6.0 version of appwrite, that time everything migrated except for the functions as the error was that dart runtime wasnt available,

I justed tested on my instance and it works absolutley fine

Show me your part of your appwrite.json which contains this specific function

I have never used Appwrite cloud so your json might contain some cloud specific configuration which does not exists in selfhosted
Recommended threads
- Functions fail to deploy after switching...
Hi <@1087889306208718959> , after switching my self-hosted Appwrite instance to use AWS S3 as the storage backend, my Cloud Functions stopped working. I’m runni...
- Error setting postman body
Good evening, anyone has an idea on how to pass body to appwrite function using postman? this is how I've passed it : { "providerName": "adamu" } and I ke...
- must be a valid domain or hostname
I have just migrated from 1.6.0 to 1.7.4. Upon migration I can log in but then get this screen. I also get this error in docker. Don't know if anyone has any id...
