#Appwrite Sites: Error At Deployment

2 messages · Page 1 of 1 (latest)

viral cosmos
#

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