采纳答案成功!
向帮助你的同学说点啥吧!感谢那些助人为乐的人
E:\webapp>gulp lib
module.js:338
throw err;
^
Error: Cannot find module 'open'
这是什么错
看一下你的gulpfile.js
open模块没有安装
{
"name": "nlg",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"gulp": "^3.9.1",
"gulp-clean": "^0.3.2",
"gulp-concat": "^2.6.1",
"gulp-connect": "^5.0.0",
"gulp-cssmin": "^0.1.7",
"gulp-imagemin": "^3.2.0",
"gulp-less": "^3.3.0",
"gulp-load-plugins": "^1.5.0",
"gulp-uglify": "^2.1.2",
"open": "^0.0.5"
}
------???我这些模块都安装了,每次 gulp lib 就自动弹出sublime(我的默认编辑器是sublime),如何解决?
登录后可查看更多问答,登录/注册
基于AngularJS,仿拉勾网开发一个招聘类的移动端单页应用
1.7k 16
1.5k 10
1.4k 9
1.4k 8
1.3k 8
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号