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 ?
Summary
Title: Issue Deploying Function: "remoteVariables is not defined"
Hi! When trying to deploy my function, I encountered the error "remoteVariables is not defined." The function is already deployed on another project in my self-hosted Appwrite. I recently changed the CLI to connect to a new project for development and production environments. Any idea why I can't deploy my function?
The solution was to migrate the old appwrite.json file, replacing variables with "vars." This fixed the issue. However, it's worth noting that "variables" is no longer supported in appwrite.json, so "vars" should be used instead.