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
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...