
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
- Auth Email Template
Hi, i would like to ask is it doable to make multiple email sender in one project?
- How to proper delete a serverless functi...
I tried `appwrite functions delete --function-id 12345`, it deletes the online one, but even after trying `appwrite pull functions`, the local one in the appwri...
- Do I have to manually change the endpoin...
The CLI never changes the json file, for example: ```bash appwrite client --endpoint https://url --project-id my-project --key standard_12345 ```` I do not k...
