So I've got a fresh install of El Capitan and I'm giving these task runners another go.
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.
As always, I'm eternally grateful for any advice.
npm install jshint gulp-jshint --save-dev
from the root of your node app. – Forelocknpm install gulp-jshint --save-dev
as stated in step four of the tutorial I originally linked to. It would have been within the test folder directory, I assume this is where it should be installed, yes? – Marisgulp-jshint
try reinstall. – Mirannpm install jshint
? – Maintenonnpm install gulp-jshint --save-dev
is that different tonpm install jshint
? – Maris