im trying to deploy a react site using appwrite sites and it keeps failing to build
TypeScript
2025-08-10T20:20:17.744324067Z [20:20:17] [open-runtimes] Environment preparation finished.
2025-08-10T20:20:17.745837905Z [20:20:17] [open-runtimes] Build command execution started.
2025-08-10T20:20:23.764821379Z added 6 packages, and audited 415 packages in 6s
2025-08-10T20:20:23.764940594Z 83 packages are looking for funding
2025-08-10T20:20:23.764958013Z run `npm fund` for details
2025-08-10T20:20:23.776775822Z 3 moderate severity vulnerabilities
2025-08-10T20:20:23.776788428Z Some issues need review, and may require choosing
2025-08-10T20:20:23.776794067Z a different dependency.
2025-08-10T20:20:23.776804200Z Run `npm audit` for details.
2025-08-10T20:20:24.007812322Z > vite_react_shadcn_ts@0.0.0 build
2025-08-10T20:20:24.007816952Z > npx vite build
2025-08-10T20:20:24.598559570Z sh: vite: Permission denied
2025-08-10T20:20:29.000000000Z Build archive was not created.```
TL;DR
Developers are facing permission issues while building a React site with Vite and Appwrite. The error "sh: vite: Permission denied" is seen during deployment. This can be resolved by updating the permission settings to allow the build command to execute properly.Recommended threads
- Unable to signup to appwrite cloud
When attempting to create an online cloud account on appwrite.io, I get the following message : "This email address must already be in its canonical form. Pleas...
- Email address must be in its canonical f...
Hello, Recently I was trying to signup with my GitHub account with appwrite account for availing the student benifits but while trying to signup I saw such erro...
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...