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
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- trying to figure out how to activate my...
please help