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
- fastly error
Hey! I'm hitting a Fastly error on the www version of our site, but the root domain works fine. We have a wildcard set up, so I expected the subdomain to be cov...
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...