I've tried everything, using workspaces, modules, symbolic links, binaries, using the root of repo and "cd" to the function but it always fails becaise git is not installed or something weird with the build.
I'm trying to have a common folder in the root with shared code and various functions inside the "functions" folder. Essentially I want a mono repo with shared code between functions. No matter what I do or which configuration, nothing works.
Did someone manage to achieve this?
Also it seems based on the "appwrite.json" there's no way to tell appwrite to download the root and cd to the function folder as it seems it is only possible when you connect Git and if you do not only it selects 1 CPU (which is not avaialbe on the free tier) but if you change the json it removes the git connection.
When I download the root and tell go to use the common folder either using mod or workspaces.
Preparing for build ...
Building ...
Compiling ...
go: openruntimes/handler@v0.0.0 (replaced by /usr/local/build): reading ../../build/go.mod: open /usr/local/build/go.mod: no such file or directory
Recommended threads
- Server Down
Appwrite services are down. When will they start working again?
- My cloud functions failing 3 days ago (P...
Hi, My cloud function using python has been failing for 3 days, I didn't push any new deployments... Its something to do with it not recognising the entrypoi...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...