Answer the question
In order to leave comments, you need to log in
What to do if the React application stops working after restarting the computer?
There is a working React application that was launched and was just being worked on.
The antivirus asked to restart the computer and after the reboot the application crashed.
In the index.js file, the line is highlighted in red; in App.js, the App function has also become inoperative. And then all dependencies also fell.
Over time, this error appeared:
Nothing has changed in package.json.document.getElementById('root')
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
Answer the question
In order to leave comments, you need to log in
Try removing node_modules and reinstalling the dependencies.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question