Ionic serve stopt working?


#1

After update i get msg any idea what’s wrong?

saladins-Mac:ExecutiveSummaryBuilder endiss$ 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

I woud expect you have a syntax error in your javascript code


#3

Most of the time this means that there’s another server going on.


#4

I’ve encountered this issue before. I’d check to make sure you have sass and gulp installed.

sass -v
gulp -v

You need to have Gulp installed globally and locally for it to work (Gulp Setup Instructions)