Back

Error, function not found in current directory

  • 0
  • Functions
dammy
29 Jun, 2023, 15:32
TypeScript
? Which functions would you like to deploy? automated_service_sender 
(2580_automated_service_sender)
Info Deploying function automated_service_sender ( 2580_automated_service_sender )
Error Function automated_service_sender ( 2580_automated_service_sender ) not found in the current directory. Skipping ...
Success Deployed 1 functions

what am I doing wrong?

TL;DR
The user is getting an error saying that the function they are trying to deploy is not found in the current directory. The solution is to make sure they are running the command in the correct folder where the `appwrite.json` file and the `functions` folder are located.
dammy
29 Jun, 2023, 15:33

@Binyamin is typing thanks man

Binyamin
29 Jun, 2023, 15:33

Are you running the appwrite deploy function command in the folder where you have your appwrite.json file and the functions folder?

dammy
29 Jun, 2023, 15:34

yes

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more