Invalid reporter error after running gulp task
Closed this issue ยท 4 comments
KevinJannis commented
Hi,
I have a task with the following code, however I keep getting an error when I try to run it.
I attached a code example.
return gulp.src(config.files.js.src)
.pipe(jshint('.jshintrc'))
.pipe(jscs())
.on('error', function() {})
.pipe(stylish.combineWithHintResults())
.pipe(jshint.reporter('jshint-stylish'))
.pipe(concat('scripts.js'));
Error I am getting:
[16:58:24] Error in plugin 'gulp-jshint'
Message:
Invalid reporter
K.
codepunkt commented
Did you install jshint-stylish
as a dependency?
KevinJannis commented
Thanks, it is working now.
Is this documented somewhere?
I also had to install jscs-jsdoc
manually.
K.
dimerman commented
๐
harshahid commented
Thanks :) It's working now..
Installed module jshint-style ๐