Problem with npm start (error : spawn cmd ENOENT)

后端 未结 5 1500
盖世英雄少女心
盖世英雄少女心 2020-12-03 15:46

I have a problem with my application. Because before when I created an application it worked, but now, it shows me this error and I do not know why and the things I have to

5条回答
  •  [愿得一人]
    2020-12-03 16:47

    For all those Who've come to this problem from react scripts not starting. The solution is

    1. Go to search bar and write environment variables. You should see an option to called edit system environment variables or something similar.
    2. Under the Advanced section there is a enivronment variable button. click it.
    3. After that you will see an option named path click on it.
    4. click add button and add following directory C:\Windows\System32.
    5. close down your editor and restart your command terminal. Problem should be resolved now

提交回复
热议问题