
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
- Getting Cors Error while running console...
Hi. Can anyone help me resolve this. I was not facing CORS error 15 minutes ago but now for some reason I am getting it and not able to resolve it.
- Adding new Attributes to Collections doe...
When I add a new attribute to an existing collection, all exisiting documents initialize that attribute to null, even though it has a default value set. I added...
- Are there any quantity limits for creati...
Are there any quantity limits for creating databases and collections in self-hosted Appwrite?
