Deploy doctor
@shipcheck/deploy-doctor
Paste a failed Vercel or Netlify build log and get the most likely cause and a fix you can apply. Recognizes about twenty common failures: letter-case import errors, missing packages, missing env vars, prerender errors, window is not defined, lockfile drift, peer dependency conflicts, wrong Node version, out of memory, wrong output or root folder, oversized functions, and more.
- Activity
- New: be the first to try it
- Installs
- 0 installs
- Likes
- 0 likes
- Clones
- 0 clones
- 1Netlify Build
- 2────────────────────────────────────────────────────────────────
- 3❯ Version
- 4 @netlify/build 29.55.2
- 5❯ Current directory
- 6 /opt/build/repo
- 7Now using node v22.11.0 (npm v10.9.0)
- 8$ npm install
- 9added 214 packages in 9s
- 10$ npm run build
- 11> demo@0.0.0 build
- 12> vite build
- 13vite v5.4.10 building for production...
- 14transforming...
- 15✓ 31 modules transformed.
- 16x Build failed in 412ms
- 17error during build:
- 18[vite]: Rollup failed to resolve import "./components/navBar" from "/opt/build/repo/src/App.tsx".
- 19Failed to resolve import "./components/navBar" from "src/App.tsx". Does the file exist?
- 21"build.command" failed
- 22────────────────────────────────────────────────────────────────
- 23 Error message
- 24 Command failed with exit code 1: npm run build
