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

后端 未结 30 2416
死守一世寂寞
死守一世寂寞 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:56

    i tried to solve this problem with this way

    rm -rf node_modules && rm ./package-lock.json && npm install
    

    But for me its not work. I just restart my machine and its working perfectly.
    Am Linux user ,Machine HP.

提交回复
热议问题