I don't seem to find the dart runtime versions supported by appwrite 🤔
Should’ve thrown an error when you deploy using the CLI I guess 🤔
That makes sense 🤔
These are all the runtimes and it’s keys
It’s getting pretty late for me (1am), let’s check really quick if @Steven has some time 👀
what's in your current folder?
and what's in the functions and appwrite.json?
the functions folder has a dart project made previously with my local CLI and the json file references the function
For context, I have updated everything in the appwrite.json to match the server instance
like what?
projectId
Am I supposed to get ✗ Error Project is not set. Please run appwrite init project to initialize the current directory with an Appwrite project.
? On this directory
all seems good then...also check that the follow outputs the correct info
appwrite client --debug
then
appwrite projects list
are you running the appwrite commands in the same folder as the appwrite.json?
Absolutely
both executes just fine
and the values are correct?
Apart from the key
value, it's empty, I assume it doesn't have something to do with it does it?
and appwrite deploy function
still doesn't work?
neither deploy nor init function,
could you please DM me the full output?
Circling back here...the CLI wasn't picking up the project properly because the appwrite.json was malformed (trailing comma)
[SOLVED] ✗ Error No functions found in the current directory.
Recommended threads
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...