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

后端 未结 11 992
抹茶落季
抹茶落季 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:14

    I faces this issue while using the windows subsystem for Linux and solved it by adding C:\Windows\System32 to Environment Variables Path. Environment Variables can add as follow.

    go to

    control panel -> System and Security ->System -> Advanced System Settings.

    From the appearing dialog box, select Environment Variables, and then under System Variables select the path and select edit and add C:\Windows\System32. Restart the machine.

提交回复
热议问题