I'm using a local library, installed with yalc (https://github.com/wclr/yalc) to mimic a local package manager. It looks to me that deploying a function does not include the .yalc folder created at the root of the function. Does the uploader ignore folders prefixed with .?
Would be nice to have a --verbose setting to see what's happening
Hmm, nothing strange here https://github.com/appwrite/sdk-for-cli/blob/master/lib/utils.js
Okay, so, adding dot-folders in src seems to include them, but adding them to the root does not. Or maybe the deployed function is restructured when built, so the file paths do not match or something?
Your appwrite.json file has a path param for the function. That is what gets uploaded (except for what is mentioned in the .gitignore).
Recommended threads
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- Error trying to deploy functions from CL...
✗ Error • on-auth-create (6a00b2ab000c9ce2949b) • Server Error ✗ Error: No functions were pushed. Prject ID: 69ffe0270033a4ac420a
- Intermittent Deploy and Execution Errors...
Project: project-fra-658e2f5f4ba30df91177 Function ID: 69bde006001c56757f49 **Several execution errors with:** Timed out waiting for runtime.\nError Code: 400...