gulp一直报错怎么解决呢
zhudeMacBook-Air:work zhu$ gulp
[22:58:29] Using gulpfile ~/Desktop/work/gulpfile.js
[22:58:29] Starting 'default'...
gulp.run() has been deprecated. Use task dependencies or gulp.watch task triggering instead.
[22:58:29] Starting 'sass-init'...
[22:58:30] Starting 'clean-css'...
[22:58:30] Starting 'concat-jquery'...
[22:58:30] Starting 'includefile-init'...
[22:58:30] Finished 'includefile-init' after 5.12 ms
[22:58:30] Starting 'connect'...
[22:58:30] Finished 'connect' after 81 ms
[22:58:30] Finished 'default' after 496 ms
events.js:160
throw er; // Unhandled 'error' event
^
Error: listen EACCES 0.0.0.0:89
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at Server._listen2 (net.js:1246:19)
at listen (net.js:1295:10)
at Server.listen (net.js:1391:5)
at ConnectApp.run (/Users/zhu/Desktop/work/node_modules/gulp-connect/index.js:82:24)
at new ConnectApp (/Users/zhu/Desktop/work/node_modules/gulp-connect/index.js:50:10)
at Object.server (/Users/zhu/Desktop/work/node_modules/gulp-connect/index.js:219:11)
at Gulp.<anonymous> (/Users/zhu/Desktop/work/gulpfile.js:209:28)
at module.exports (/Users/zhu/Desktop/work/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/Users/zhu/Desktop/work/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/Users/zhu/Desktop/work/node_modules/orchestrator/index.js:214:10)
at /Users/zhu/Desktop/work/node_modules/orchestrator/index.js:279:18
at finish (/Users/zhu/Desktop/work/node_modules/orchestrator/lib/runTask.js:21:8)
at module.exports (/Users/zhu/Desktop/work/node_modules/orchestrator/lib/runTask.js:60:3)
at Gulp.Orchestrator._runTask (/Users/zhu/Desktop/work/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/Users/zhu/Desktop/work/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/Users/zhu/Desktop/work/node_modules/orchestrator/index.js:134:8)
at Gulp.run (/Users/zhu/Desktop/work/node_modules/gulp/index.js:22:14)
at Gulp.run (/Users/zhu/Desktop/work/node_modules/deprecated/index.js:9:17)
at Gulp.<anonymous> (/Users/zhu/Desktop/work/gulpfile.js:181:17)
at module.exports (/Users/zhu/Desktop/work/node_modules/orchestrator/lib/runTask.js:34:7)
zhudeMacBook-Air:work zhu$
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决啦,mac要加sudo命令的,当时不知道