Skip to content
Back

Trying to set up a new appwrite project

  • 0
  • Functions
  • Cloud
amitrochates
24 Apr, 2025, 13:11

we have used the folder structure as follow Functions /function-name /src/index,js This is our entrypoint and git confugre settings

When I try to run execute the function I get this error. Cant find the cause of this issue, is it related to entrypoint/folder structure. Whats the recommended method of setting it up to avoid this. What am I doing wrong, let me know more information is needed to diagnose the problem . ProjectId : appwrite-dev-test

TL;DR
Try renaming your function folder and files to use camel case instead of hyphens. This may solve the issue with your appwrite project setup.
WhMonkey
24 Apr, 2025, 13:53

Try renaming your function folder without usingt the -. I'd recommend using camel case (just how I do it at least), so createUser instead of create-user

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