How to solve npm error “npm ERR! code ELIFECYCLE”

后端 未结 30 2753
死守一世寂寞
死守一世寂寞 2020-11-22 02:33

I\'m trying to learn react, so I have this sample code for the full-stack react voting app, and I am trying to get it to work but after running npm install followed by npm s

30条回答
  •  春和景丽
    2020-11-22 02:41

    Its weird but it works for me

    Go to

    control panel -->System and Security--> System --> Advanced System Security--> Environment Variables

    In Environment Variable popup you will edit the user variable PATH and add "C:\Windows\System32" value as semicolon separated to the existing value.

    Not but not least restart the Machine.

提交回复
热议问题