Error: `'` can be escaped with `'`, `‘`, `'`

I get this error when I run npm run build on Nextjs, also the error affects deployment on vercel as well

Error: `'` can be escaped with `'`, `‘`, `'`, `’`.  react/no-unescaped-entities

 

message profile
Admin
2023-05-31

This error is because having unescaped characters is a voilation of JavaScripts ESLint rules. To fix this you have several options;

  1. Use backtics instead of single qoutes i.e instead of '.
  2. You can also use any of the options given to you i.e  
    you're becomes you're

 

Add Message

Click on the button below to add a new message to this thread

Tags

#vercel #Netlify #next js

Thread detail

Satus: Open
Messages: 1Started: 2023-05-31
loading..

DEVMAESTERS

Newsletter

Services

Frontend Development |Backend Development |Full Website Development |Bootstrap Website upgrades | Website Debbugging | Website Hosting & deployment

Contact

Interested in hiring me or collaborating with me on a project, click on any of the links below to get my social media handle

Or contact me via Tel: (+234)-806-225-7480 | Email: abubakarzakari1703@gmail.com

Copywright@devmaesters.com
Privacy Policy

By using our website,
you agree that devmaesters can store cookies on your device and disclose information in accordance with our privacy policy.