您的位置:首页 > Web前端 > JavaScript

Gulp Error: Cannot find module 'jshint/src/cli'

2016-03-25 11:35 531 查看
I'm following sitepoint's An introduction to Gulp.js, but I'm stuck on step four, when I try to run
gulp jshint
I get "
Error: Cannot find module 'jshint/src/cli'
"

I've no idea what's causing this, which is why I'm asking here. Below are a couple of screen grabs to help with the issue.



[b]You need to install jshint as well, that will sort out the issue.[/b]

[b][code]> npm install --save-dev jshint gulp-jshint
[/b][/code]

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: