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

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

    I'm using ubuntu 18.04 LTS release and I faced the same problem I tried to clean cache as above suggestions but it didn't work for me. However, I found another solution.

    echo 65536 | sudo tee -a /proc/sys/fs/inotify/max_user_watches

    npm start

    I run this command and it started to work

提交回复
热议问题