Vercel build logs or terminal
Failed to compile. Error: '…' is defined but never used. (@typescript-eslint/no-unused-vars)
- What it means
- The code quality check (ESLint) stopped the build because a leftover variable or import isn't used anywhere.
- Likely causes
- An import or helper variable was left behind after refactoring a component.
npm run lintwasn't run before pushing to GitHub.
- Prevention
- Run
npm run lintbefore every commit and push.
Copy for your agent
The build failed on an ESLint error. Run `npm run lint`, clean up the unused imports or variables, verify `npm run build` passes locally, and push.
Was this page helpful?