Appwrite is up and running again, will try to make everything through the appwrite cli
Hmm
It seems like it's trying to cd
into https://github.com/appwrite/functions-starter
Can you try initing the function in another folder?
It does look like it doesn't have access to that folder
π
What's in your functions folder?
And what version of node do you have?
Nothing currently
Can you go in that my awesome folder and run that git clone command?
And what version of node do you have?
Yep, definitely something wrong with git, let me troubleshoot that and will be back
Maybe it's not node...maybe it's git
Smh Ubuntu π€¦π»ββοΈ
lol bug with that specific version π
Created the function succesfully:
But I ran appwrite deploy function
and it seems that nothing happened
press space to select which functions to deploy
Lmao my bad
Noice
So what's the tweak needed in the .env
file, just to sum things up
the runtimes network env var. by default, it's appwrite_runtimes
, but since your files were in a folder named appwrite-be
, the network was appwrite-be_runtimes
. So this was the problem that resulted in the following error:
An internal curl error has occurred within the executor! Error Msg: Could not resolve host: traspaso-63e655c39fe6727b25e4
The other problem you had was the format of the code. that would have probably resulted in a connection timed out error
I see, thank you, and thanks everyone else for your time π
[SOLVED] Could not resolve host
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...