'Failed to load plugin 'react' declared in 'package.json » eslint-config-react-app » ': Unexpected end of input
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
Solution 1:[1]
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.
Solution 2:[2]
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | NIKHIL KUMAR GUPTA |
| Solution 2 | Justin Meskan |

