gulp jshint安装 自动化部署 失败

https://github.com/spalger/gulp-jshint/issues/131

http://stackoverflow.com/questions/33984558/gulp-error-cannot-find-module-jshint-src-cli

运行自动化构建提示:

D:\IDDCode\src\main\webapp>gulp
module.js:341
throw err;
^

Error: Cannot find module 'jshint/src/cli'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (D:\IDDCode\src\main\webapp\node_modules\gulp-jshint\src\extract.js:1:79)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)

posted on 2016-03-02 14:07  braveliu  阅读(665)  评论(2编辑  收藏  举报

qzone: welcome to my qzone github:welcome to my github mail:contact me with gmail