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

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.

You need to install jshint as well, that will sort out the issue.

> npm install --save-dev jshint gulp-jshint

posted @ 2016-03-25 11:35  幕三少  阅读(3182)  评论(0编辑  收藏  举报