iview-project icon indicating copy to clipboard operation
iview-project copied to clipboard

npm run dev 报错

Open blackcatpolice opened this issue 7 years ago • 2 comments

webpack-dev-server --inline --hot --compress --history-api-fallback --config webpack.dev.config.js

events.js:160 throw er; // Unhandled 'error' event ^

Error: listen EADDRINUSE 127.0.0.1:8080 at Object.exports._errnoException (util.js:1022:11) at exports._exceptionWithHostPort (util.js:1045:20) at Server._listen2 (net.js:1259:14) at listen (net.js:1295:10) at net.js:1405:9 at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:62:16) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:81:10)

npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dev" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! [email protected] dev: webpack-dev-server --inline --hot --compress --history-api-fallback --config webpack.dev.config.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] dev script 'webpack-dev-server --inline --hot --compress --history-api-fallback --config webpack.dev.config.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the iview-project package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! webpack-dev-server --inline --hot --compress --history-api-fallback --config webpack.dev.config.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iview-project npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iview-project npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! D:\Repos\iVivew\iviewproject\npm-debug.log

blackcatpolice avatar Mar 09 '17 07:03 blackcatpolice

同问 +1

yobi-maggie avatar Oct 12 '17 04:10 yobi-maggie

端口被占用

yangjh168 avatar May 09 '18 05:05 yangjh168