trying to deploy static site on vercel but keep getting this error
Answered
American black bear posted this in #help-forum
American black bearOP
Failed to compile.
./app/components/About.jsx
16:225 Error:
20:134 Error:
./app/components/Main.jsx
19:12 Error:
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
Error: Command "npm run build" exited with 1
./app/components/About.jsx
16:225 Error:
'
can be escaped with '
, ‘
, '
, ’
. react/no-unescaped-entities20:134 Error:
"
can be escaped with "
, “
, "
, ”
. react/no-unescaped-entities./app/components/Main.jsx
19:12 Error:
'
can be escaped with '
, ‘
, '
, ’
. react/no-unescaped-entitiesinfo - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
Error: Command "npm run build" exited with 1
4 Replies
Try installing ESLint in your IDE and fix the error
Answer
either that or disable ESLint in your project
American black bearOP
@Alfonsus Ardani thanks it works
You're welcome