
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
- React Client SDK - CORS issue for Storag...
Hi I've been working on a project for a few weeks with the React Client SDK and OAuth2.0 Google login. All has been working alright, but today I've started gett...
- Domain not available
Message: After creating a function using the Functions API, the domain is not created automatically, even though the documentation says a domain should be creat...
- Can not migrate to self hosted instance ...
Hey! I want to migrate from Appwrite Cloud to a self hosted instance and it's a really frustrating journey for now. Exporting itself does not work, so I did w...
