J
J
Julia2021-07-24 03:37:32
React
Julia, 2021-07-24 03:37:32

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')
60fb603e0c55b794147105.jpeg

"eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },

Tell me, please, what to do, how to revive the project?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Ukolov, 2021-07-24
@alexey-m-ukolov

Try removing node_modules and reinstalling the dependencies.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question