Hi,
Appwrite (1.7.4 but 1.6.0 too) throw me this error when I upload my functions manually (cant do other way for now)
TypeScript
[14:59:40] [open-runtimes] Environment preparation finished.
[14:59:40] [open-runtimes] Build command execution started.
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /usr/local/build/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/usr/local/build/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2025-10-06T14_59_41_119Z-debug-0.log```
The package.json is at the root of the archive. It's there.
What am I doing wrong?
TL;DR
Issue: Appwrite is throwing an error when uploading functions manually, even though the package.json file is in the root of the archive.
Solution: Ensure that the correct path to the package.json file is specified in the build configuration.Recommended threads
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...
- relationships bug or error idk
hey every one, am using am using appwrite on a project and ran into a problem where by created a relationship and two way to be specific and it is stuck on proc...