npm Error: listen EADDRINUSE 127.0.0.1:8080

1014 단어
Error: listen EADDRINUSE 127.0.0.1:8080     at Server.setupListenHandle [as _listen2] (net.js:1335:14)     at listenInCluster (net.js:1383:12)     at GetAddrInfoReqWrap.doListen [as callback] (net.js:1509:7)     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:61:10) Emitted 'error' event at:     at emitErrorNT (net.js:1362:8)     at process._tickCallback (internal/process/next_tick.js:63:19) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! vue-demo@ dev: `cross-env NODE_ENV=development webpack-dev-server --open --inline --hot --port 8080` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the vue-demo@ dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR!     C:\Users\MX\AppData\Roamingpm-cache\_logs\2018-07-24T09_07_38_445Z-debug.log  
 
EADDRINUSE: 주어진 주소가 사용되고 포트가 점용됨
해결:
sudo lsof -i :8088 //  
sudo kill -9 47862 //  PID

좋은 웹페이지 즐겨찾기