Operating System: MacOS Appwrite Version: self-hosted 1.8.1 Appwrite CLI Version: 13.2.1
I want to split code up to share it between my functions. At the moment i have signup function and common code only.
I have paths:
- functions/common - my common code
- functions/signup - my function
I have created a relative soft link of my functions/common in functions/signup/src which i have named common.
I used command: ln -s "../../common" "./common" in the functions/signup/src folder
You can see structure of my project on the image.
It seems work but appwrite cli fails when i run my function using appwrite cli command: appwrite run function
Appwrite Cli throws exception:
/opt/homebrew/Cellar/appwrite/13.2.1/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:80636
throw new Ctor(message);
^
RangeError: path should be a `path.relative()`d string, but got "../common"
at throwError (/opt/homebrew/Cellar/appwrite/13.2.1/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:80636:13)
at checkPath (/opt/homebrew/Cellar/appwrite/13.2.1/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:80650:16)
at Ignore._test (/opt/homebrew/Cellar/appwrite/13.2.1/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:80688:9)
at Ignore.ignores (/opt/homebrew/Cellar/appwrite/13.2.1/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:80734:21)
at ignored (/opt/homebrew/Cellar/appwrite/13.2.1/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:140376:24)
at matchPatterns (/opt/homebrew/Cellar/appwrite/13.2.1/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:84084:22)
at FSWatcher._userIgnored (/opt/homebrew/Cellar/appwrite/13.2.1/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:84102:18)
at FSWatcher._isIgnored (/opt/homebrew/Cellar/appwrite/13.2.1/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:87211:21)
at FsEventsHandler._handleFsEventsSymlink (/opt/homebrew/Cellar/appwrite/13.2.1/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:86490:24)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
Emitted 'error' event on FSWatcher instance at:
at FSWatcher._handleError (/opt/homebrew/Cellar/appwrite/13.2.1/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:87100:16)
at FsEventsHandler._handleFsEventsSymlink (/opt/homebrew/Cellar/appwrite/13.2.1/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:86504:24)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
Node.js v25.5.0
Recommended threads
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...