bug: 'ionic serve' fails after using 'ionic setup sass'
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)
i get the same thing reported this last week on the cli branch https://github.com/driftyco/ionic-cli/issues/76#issuecomment-54437417
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>
nothing running on that port for me and this is a clean boot. im on Win8.1 if that helps?
This is alo discussed in another bug report
Please continue this issue here: https://github.com/driftyco/ionic-cli/issues/76 thanks
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.