Next.js Discord

Discord Forum

trying to deploy static site on vercel but keep getting this error

Answered
American black bear posted this in #help-forum
Open in Discord
Avatar
American black bearOP
Failed to compile.
./app/components/About.jsx
16:225 Error: ' can be escaped with ', ‘, ', ’. react/no-unescaped-entities
20:134 Error: " can be escaped with ", “, ", ”. react/no-unescaped-entities
./app/components/Main.jsx
19:12 Error: ' can be escaped with ', ‘, ', ’. react/no-unescaped-entities
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
Image
Answered by Alfonsus Ardani
Try installing ESLint in your IDE and fix the error
View full answer

4 Replies

Avatar
Try installing ESLint in your IDE and fix the error
Answer
Avatar
either that or disable ESLint in your project
Avatar
American black bearOP
@Alfonsus Ardani thanks it works
Avatar
You're welcome