Why npm start is throwing events.js:187 throw er; // Unhandled 'error' event in my react project?

后端 未结 11 1000
抹茶落季
抹茶落季 2020-12-15 14:35

While starting the server for the first time just after the code checkout , my react js project is throwing error \"events.js:187 throw er; // Unhandled \'error\'

11条回答
  •  悲&欢浪女
    2020-12-15 15:02

    Try this if none of the above answers solved u.. Go to My Computer>Properties>Advanced and in the environment variables Edit the PATH and add the following

    C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem; C:\Program Files\nodejs;C:\Users{yourName}\AppData\Roaming\npm

    Add 4 of them and restart your PC

提交回复
热议问题