Hello, I am using Appwrite 1.7.4 on a self-hosted instance and am experiencing an issue with Appwrite Site's manual deployment.
[12:44:43] [open-runtimes] Environment preparation started. [12:44:50] [open-runtimes] Environment preparation finished. [12:44:50] [open-runtimes] Build command execution started. npm error code ENOENT npm error syscall open npm error path /usr/local/build/package.json npm error errno -2 npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/usr/local/build/package.json' npm error enoent This is related to npm not being able to find a file. npm error enoent npm error A complete log of this run can be found in: /root/.npm/_logs/2025-05-27T12_44_50_352Z-debug-0.log
I am trying to upload a small vite react web app as a tar.gz. The error says that a package.json file could not be found although the uploaded directory does indeed contain one.
This is my first app with Appwrite Sites, I'd appreciate any help. Thank you!
Appwrite Sites: Error At Deployment
Recommended threads
- Invalid query: Query on attribute has gr...
I cannot view the table within the Console
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Failed to create function
Hey everyone 👋 I'm having an issue creating Functions on Appwrite Cloud and I'm not sure if it's a platform bug or something wrong in my project. When I try t...