10

I am using React version 16.13.1, Node version 11.0

After every 15-20 minutes of using npm start

  • the terminal says Compiling...
  • browser says This site can’t be reached after a long execution
  • no changes to the code trigger re-compilation
  • server became unresponsive
  • Am getting stucked

To proceed further I have to

  • terminate the process using Ctrl+c
  • start again using npm start, which asks to start the process on different port

Regarding Solution to this problem,Some says:

  • Updating to node 11.1 worked for them
  • Downgrading from node 11 to 10 LTS worked for them
  • Since CRA already works on Node 11.0.0, issue has been fixed on node 11.0 itself
  • The process has to be terminated using a tool like htop

Can anyone explain why it is happening? And what could be the solution apart from node version changing?

1
  • Did you find an answer that worked? Commented Mar 15, 2021 at 16:44

3 Answers 3

0

That may relate you ESLintPlugin set up of your webpack . Set failOnError: false may fix that problems .

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

Comments

0

I solve this issue changing one simple tag that was written on the short tag form:

From this:

<LockOutlined /> 

To this:

<LockOutlined></LockOutlined> 

Comments

0

Not sure but I think react-scripts needs to be updated for it to be compatible with Node.js 11

npm update react-scripts 

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.