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
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...
- Python Function not working
I am getting this issue as well. Doesnt look like there was a solution as you guys were not able to replicate. Below is my code as well as the error. I started...
- I can't share code between functions
Operating System: MacOS Appwrite Version: self-hosted 1.8.1 Appwrite CLI Version: 13.2.1 I want to split code up to share it between my functions. At the momen...