$ npm start
[email protected] prestart C:\wamp64\www\myapplication npm install
npm WARN invalid config loglevel="notice"
[email protected] postinstall C:\wamp64\www\myapplication bower install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
up to date in 78.888s
[email protected] start C:\wamp64\www\myapplication http-server -a localhost -p 8001 -c-1 ./app
events.js:160 throw er; // Unhandled 'error' event ^
Error: listen EADDRINUSE 127.0.0.1:8001 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at Server._listen2 (net.js:1262:14) at listen (net.js:1298:10) at net.js:1408:9 at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:62:16) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:81:10) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] start:
http-server -a localhost -p 8001 -c-1 ./app
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!
C:\Users\AppData\Roaming\npm-cache_logs\2018-01-07T16_08_23_941Z-debug.log
i had this error when i run npm start frontend(angularjs)and in the symfony is run correctly can someone have a idea how can i solve.
Another process is already listening on port 8001
. You are either trying to start your server twice, or there is another server/application which uses that port. The solution is to change the port or kill the process which listens on the same port.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments