Hi, When I try to deploy my function i got this error : "remoteVariables is not defined" The function is already deploy on another project of my appwrite self hosted. I've just change the cli to get connected to the new project (It is for having dev / prod environnement). Any idea why I can't deploy my function ?
Ok, I've just found an issue about it : https://github.com/appwrite/website/issues/387
variables is not anymore supported in appwrite.json, you've to use "vars"
Does it got solved by doing that?
Yes, just migrate my old appwrite.json replacing variables to use "vars" and now, it's fixed
@MickCan I mark this as solved then or do you need further assistance?
no, it's solved
Recommended threads
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- Error trying to deploy functions from CL...
✗ Error • on-auth-create (6a00b2ab000c9ce2949b) • Server Error ✗ Error: No functions were pushed. Prject ID: 69ffe0270033a4ac420a
- Intermittent Deploy and Execution Errors...
Project: project-fra-658e2f5f4ba30df91177 Function ID: 69bde006001c56757f49 **Several execution errors with:** Timed out waiting for runtime.\nError Code: 400...