老师,各位同学,请问一下执行gulp的时候提示这样的错误,是什么原因啊。
来源:9-3 如何打包发布-2
tanglili
2016-08-04
➜ src git:(master) ✗ gulp
(node:47137) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
module.js:442
throw err;
^
Error: Cannot find module 'gulp-rev'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/tanglili/tll/github/imooc-pay-myorder/coding/src/gulpfile.js:5:11)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
➜ src git:(master) ✗
2回答
-
可能是 gulp-rev 这个插件没有安装好,试试重新安装一下?
npm install gulp-rev --save-dev
022016-08-10 -
tanglili
提问者
2016-08-10
012016-08-11
相似问题