Cth4nOriginal post
Web Developer
im trying to deploy a react site using appwrite sites and it keeps failing to build
Plain text
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 6s2025-08-10T20:20:23.764940594Z 83 packages are looking for funding2025-08-10T20:20:23.764958013Z run `npm fund` for details2025-08-10T20:20:23.776775822Z 3 moderate severity vulnerabilities2025-08-10T20:20:23.776788428Z Some issues need review, and may require choosing2025-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 build2025-08-10T20:20:24.007816952Z > npx vite build2025-08-10T20:20:24.598559570Z sh: vite: Permission denied2025-08-10T20:20:29.000000000Z Build archive was not created.```Summary
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.