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

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

    The port is probably being used by another application, try listing and see if it's your application:

    lsof -i:8080

    You can kill the process of this port:

    lsof -ti:8080 | xargs kill

提交回复
热议问题