
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
- Error while trying to run appwrite funct...
It was working fine when running functions locally but today I am getting this error.
- Unable to connect. Is the computer able ...
Hi, I followed the self-hosted documentation, copied the docker compose and .env and executed the `docker compose up -d` command. I have appwrite running on my...
- JSON Parse error: Unexpected EOF when ex...
Hi, I'm trying to test a piece of code and I can't figure out what I'm doing wrong. I've reduced the deployed main to just this ```javascript export default as...
