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
- CreateRow is doing ListRows on self-host...
### setup ``` appwrite 1.9.5 self-hosted bun 1.3 node-appwrite 27.1.0 ``` ### issue Im running a function on a self hosted 1.9.5 with "node-appwrite": "^27.1.0...
- Local function execution results in HTTP...
Hi all, I'm trying to develop a new function on my Ubuntu 24.04 machine running the latest version of docker. I've read through the documentation to install and...
- hi guys! my site is not accesible in my ...