Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic 2 update from rc2.0 to rc3 serve error #9425

Closed
ykonstant opened this issue Nov 30, 2016 · 2 comments
Closed

ionic 2 update from rc2.0 to rc3 serve error #9425

ykonstant opened this issue Nov 30, 2016 · 2 comments

Comments

@ykonstant
Copy link

ionic-hello-world@ ionic:serve /Applications/XAMPP/xamppfiles/htdocs/huntfishshare

ionic-app-scripts serve

[19:10:13] ionic-app-scripts 0.0.45
[19:10:13] watch started ...
[19:10:13] build dev started ...
[19:10:13] clean started ...
[19:10:13] clean finished in less than 1 ms
[19:10:13] copy started ...
[19:10:13] transpile started ...
events.js:160
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE 0.0.0.0:53703
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at Server._listen2 (net.js:1262:14)
at listen (net.js:1298:10)
at doListening (net.js:1397:7)
at _combinedTickCallback (internal/process/next_tick.js:77:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Module.runMain (module.js:607:11)
at run (bootstrap_node.js:420:7)
at startup (bootstrap_node.js:139:9)

npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "ionic:serve" "--"
npm ERR! node v7.2.0
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! ionic-hello-world@ ionic:serve: ionic-app-scripts serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-hello-world@ ionic:serve script 'ionic-app-scripts serve'.
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 ionic-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ionic-app-scripts serve
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ionic-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Applications/XAMPP/xamppfiles/htdocs/huntfishshare/npm-debug.log
There was an error serving your Ionic application: There was an error with the spawned command: serve

@manucorporat
Copy link
Contributor

EADDRINUSE, stands for "address already in use", you probably have another ionic serve running in the background using the same TCP port. Close it and try again

@ykonstant
Copy link
Author

thanks,
port is already in used
i used
sudo lsof -i : for listing
sudo kill -9 for free port
It resolves my problem
thanks, again

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants