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

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

    Check for port availability as well if you encounter below message :

    Error: listen EACCES 127.0.0.1:8080
    
    at Object._errnoException (util.js:999:13)
    at _exceptionWithHostPort (util.js:1020:20)
    at Server.setupListenHandle [as _listen2] (net.js:1362:19)
    at listenInCluster (net.js:1420:12)
    at GetAddrInfoReqWrap.doListen [as callback] (net.js:1535:7)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:102:10)
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    

提交回复
热议问题