react-build-tutorial icon indicating copy to clipboard operation
react-build-tutorial copied to clipboard

不行。启动不了

Open tikeyc opened this issue 6 years ago • 0 comments

PC-194-iMac:application-two public1$ npm start

[email protected] start /Users/public1/Desktop/HTML-Study/application-two node ./server/server.js

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

Error: listen EADDRINUSE :::3000 at Server.setupListenHandle [as _listen2] (net.js:1330:14) at listenInCluster (net.js:1378:12) at Server.listen (net.js:1466:7) at Application.listen (/Users/public1/Desktop/HTML-Study/application-two/node_modules/koa/lib/application.js:64:19) at Object. (/Users/public1/Desktop/HTML-Study/application-two/server/server.js:47:5) at Module._compile (internal/modules/cjs/loader.js:678:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10) at Module.load (internal/modules/cjs/loader.js:589:32) at tryModuleLoad (internal/modules/cjs/loader.js:528:12) at Function.Module._load (internal/modules/cjs/loader.js:520:3) at Function.Module.runMain (internal/modules/cjs/loader.js:719:10) at startup (internal/bootstrap/node.js:228:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:575:3) Emitted 'error' event at: at emitErrorNT (net.js:1357:8) at process._tickCallback (internal/process/next_tick.js:174:19) at Function.Module.runMain (internal/modules/cjs/loader.js:721:11) at startup (internal/bootstrap/node.js:228:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:575:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] start: node ./server/server.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start 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! /Users/public1/.npm/_logs/2018-06-01T04_09_07_213Z-debug.log

tikeyc avatar Jun 01 '18 04:06 tikeyc