I have a self-hosted instance of Appwrite 1.6.0 with two working functions created and deployed back in the Appwrite 0.x days. I've since updated Appwrite CLI to 6.1.0 and reinitialized my project so that I can locally develop a new function using appwrite init function. I'm using the dart-3.5 runtime for the new function and am ready to push it to the server. However, I get the following when running appwrite push functions:
? Which functions would you like to push? API (api)
ℹ Info: Validating functions ...
ℹ Info: Checking for changes ...
ℹ Info: Pushing functions ...
✗ Error • API (api) • Invalid `runtime` param: Value must be one of (node-14.5, node-16
✗ Error: No functions were pushed.
If I run docker compose exec appwrite vars on the server, I can see the following:
- _APP_FUNCTIONS_RUNTIMES=dart-2.17,dart-2.18,dart-3.1,dart-3.3,dart-3.5
I have no reference to any Node runtimes, either locally or on my server. How do I resolve this issue?
Recommended threads
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...
- Error can not create `tablesdb` event wi...
When i'm trying to add an event with `tablesdb` i get an error message My event value: `tablesdb.mtg-decklist-dev.tables.queue_parsing.rows.*.create` Same err...