安装Ionic Box以尝试修复cordova插件的问题后,我得到了离子服务等的这些错误。(我已经关闭了所有虚拟机,afaik。
端口8100,35729是提及的,但它们似乎没有被使用:
netstat -p tcp | grep //什么都不返回
RoverMR:build_feed rover$ 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:1011:11) at Process.ChildProcess.handle.onexit (childprocess.js:802:34) RoverMR:build_feed rover$
答案 0 :(得分:3)
gulp
gulp sass
只需安装:
npm install -g gulp