ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: 'ionic serve' fails after using 'ionic setup sass'

Open silvrbak opened this issue 12 years ago • 6 comments

Type: bug

Platform: all

I think I have steps to reproduce this issue. I created a new test app, 'ionic serve' works fine. I then ran 'ionic setup sass'. I believe this is what is causing 'ionic serve' to break. Did it multiple times. There is another issue similar on GitHub,

https://github.com/driftyco/ionic/issues/1953#issuecomment-53985452

Here is the error,

events.js:72 throw er; // Unhandled 'error' event ^ Error: spawn ENOENT at errnoException (child_process.js:1001:11) at Process.ChildProcess._handle.onexit (child_process.js:792:34)

silvrbak avatar Sep 01 '14 18:09 silvrbak

i get the same thing reported this last week on the cli branch https://github.com/driftyco/ionic-cli/issues/76#issuecomment-54437417

dm0n avatar Sep 04 '14 12:09 dm0n

Hmm, the ENOENT error means that the server never shut down. You should be able to do this

$ lsof -i tcp:8100

This will return a list of servers, look for one with the command "node". It will have a PID for it. Then run

$ kill <PID>

mhartington avatar Sep 04 '14 21:09 mhartington

nothing running on that port for me and this is a clean boot. im on Win8.1 if that helps?

dm0n avatar Sep 05 '14 14:09 dm0n

This is alo discussed in another bug report

rhumbus avatar Sep 08 '14 07:09 rhumbus

Please continue this issue here: https://github.com/driftyco/ionic-cli/issues/76 thanks

adamdbradley avatar Sep 08 '14 14:09 adamdbradley

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 06 '18 14:09 ionitron-bot[bot]