For some reason after the 1.4.2 update i cannot simply create a nodejs runtime function through the console. The only availiable runtimes can be seen below in the picture. Also the template-starter page presents 5 different runtimes(including node-18), but when using the CLI to init functions(because the console doesnt work), i can only pick node-16 runtime.
Weird π€ Can you pls open your .env file and provide me with your value for _APP_FUNCTIONS_RUNTIMES? That might give me some direction towards finding the bug
Checked some other issues: https://discord.com/channels/564160730845151244/1147311089135132703/1147320828791365663 Says one needs to enable node-18. Should _APP_FUNCTIONS_RUNTIMES be changed to node-18.0 instead?
_APP_FUNCTIONS_RUNTIMES=node-16.0,php-8.0,python-3.9,ruby-3.0
Ah. I found it here: https://github.com/appwrite/appwrite/discussions/4826. Have to update the .env.
[SOLVED] Can't create node function from console
Can't create node function from console
I jumped the gun, after changing the .env, the appwrite console breaks. I get gateway timeout
Okay, it seems to work now. However i have an existing function created with node-16.0 runtime. How can i update this to use node-18.0 instead, so i dont have to delete it?
You'll have to recreate to use the new function syntax. otherwise you can try to update the function runtime in the function settings
[SOLVED] Can't create node function from console
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...