I created a react + vite app, and I tried to deploy it on render. However, I encountered an error that shows sh: 1: vite: Permission denied. Would you please help me to resolve this issue?.
Jun 13, 4:53 PM - 4:55 PM
GMT+8
Menu
==> Cloning from https://github.com/MiguelTrinidad21/student-system
==> Checking out commit 41f1357c248768e61b34a5885f40ffc7ff5335ea in branch main
==> Installing dependencies with npm...
==> Using Node.js version 22.16.0 (default)
==> Docs on specifying a Node.js version: https://render.com/docs/node-version
==> Using Bun version 1.1.0 (default)
==> Docs on specifying a bun version: https://render.com/docs/bun-version
added 21 packages, and audited 221 packages in 2s
45 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
up to date, audited 221 packages in 1s
45 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
==> Running build command 'npm run build'...
> client@0.0.0 build
> vite build
sh: 1: vite: Permission denied
==> Build failed 😞