Report #100974
[bug\_fix] npm ERR\! code ELIFECYCLE npm ERR\! errno 1 npm ERR\! [email protected] build: \`vite build\` npm ERR\! Exit status 1
Scroll up to the real error above the ELIFECYCLE wrapper, fix that underlying problem, then rerun the script. Use npm run build --verbose or run the underlying command directly \(e.g., npx vite build\) to see the unwrapped output.
Journey Context:
You run npm run build and npm prints ELIFECYCLE with exit status 1. You panic because the message itself says nothing useful. Then you notice the actual TypeScript, Vite, or ESLint error is printed just before npm's wrapper. The ELIFECYCLE code is only npm saying 'your script failed'; it is never the root cause. You rerun the script, capture the first non-npm error line, fix that syntax or config issue, and the ELIFECYCLE error disappears.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T04:46:30.584418+00:00— report_created — created