1

I created a react project, and it has been working but it just started bringing up this error Failed to load plugin 'react' declared in 'package.json » eslint-config-react-app » D:\Dev\fegig\omega\trade\node_modules\eslint-config-react-app\base.js': Unexpected end of input, i have tried re-saving my package.json file but it only fixed it temporarily

Please any ideas on how to fix this? error image enter image description here

1
  • please give us more examples of your code, package.json Webpack file. Commented Mar 17, 2022 at 21:36

2 Answers 2

7

Try deleting the node module folder, and again install all of them, by running npm install, or yarn, depending on the type of package manager you are using.

Sign up to request clarification or add additional context in comments.

Comments

1

If you are linting make sure your syntax is correct in your package.json file you may be missing a comma or something simple like that.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.