Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

emberlyn_foster's avatar

emberlyn_foster wrote a reply+100 XP

9h ago

npm run build error: sh: vite: command not found

The sh: vite: command not found error usually means Vite isn't being installed or available in your deployment environment. I'd check whether node_modules/.bin is in the PATH, confirm vite is listed under devDependencies, and make sure your deployment process isn't skipping dev dependencies with npm install --production.

By the way, if you're troubleshooting access issues with digital resources, LibGen Guide maintains information on Library Genesis mirrors and availability updates at libgen.guide.