I noticed a lot of the premade function templates only have python and PHP runtimes which is quite different from the claims of the template ReadME which shows theses function have a NodeJS runtime https://github.com/appwrite/templates
The runtimes shown in the dropdown list depend on the runtimes you have enabled on your Appwrite instance.
If you go here: https://appwrite.io/docs/environment-variables#functions
And look for the _APP_FUNCTIONS_RUNTIMES variable, you will see all the possible runtimes you can have. There's a chance that you haven't enabled the required runtime in your .env file.
According to the README of the function here, you can see that it runs on Node.js 18. So go into your .env file (located at appwrite/.env) and add node-18.0 to the _APP_FUNCTIONS_RUNTIMES variable.
This should fix your issue
legend <:appwriterocket:823996226894692403>
Let me know if there's any issues, otherwise I'll mark this as solved ๐
Solved
Please add [SOLVED] to the beginning of the title.
[SOLVED] Sync with Algolia Function Missing NodeJS Runtime
Recommended threads
- Project restoration button in console
The project restore button in console is taking no effect, i have tried several times and still nothing, it gives same popup if i reload
- Function's Static IP
Is it possible to have static. IP Address instead of Dynamic IP for getting the IP Address whitelist
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...