Fresh install, ionic serve throws error


#1

I just runned:

npm install -g cordova ionic
ionic start myApp tabs
ionic serve

Gulp startup tasks: [ ‘sass’, ‘watch’ ]
Running dev server: http://localhost:8100
Running live reload server: http://localhost:35729
Watching : [ ‘www//*’, '!www/lib//*’ ]
Ionic server commands, enter:
restart or r to restart the client app from the root
goto or g and a url to have the app navigate to the given url
consolelogs or c to enable/disable console log output
serverlogs or s to enable/disable server log output
quit or q to shutdown the server and exit

events.js:72
throw er; // Unhandled ‘error’ event
^
Error: spawn ENOENT
at errnoException (child_process.js:988:11)
at Process.ChildProcess._handle.onexit (child_process.js:779:34)


#2

Hmm, try running npm install in the project. Do you have another server instance running at the same time?