gulp-notify icon indicating copy to clipboard operation
gulp-notify copied to clipboard

gulp-notify Error When Using JSHint's .jshintignore File

Open DerekFoulk opened this issue 8 years ago • 3 comments

Please see this issue for details. Long story short- the presence of a .jshintignore file in a repo will cause gulp-notify to throw the following error:

gulp-notify: [Error in notifier] TypeError in plugin 'gulp-notify' Message: Cannot read property 'success' of undefined

I posted in both of your repos, hoping that someone can easily identify the conflict and resolve it :) All versions, expected behavior, etc. is present in the above mentioned issue. Thanks!

DerekFoulk avatar Jun 15 '16 20:06 DerekFoulk

I have the same error. Please, if you find a solution ...

fantomtracks avatar Apr 06 '17 12:04 fantomtracks

Hey @AxelBaron - I ended up using the inline ignore. Just slap this at the top of each file that you wish to ignore:

/* jshint ignore:start */

I don't think anyone ever got around to fixing this issue... Good luck man! I know it's not as tidy as the .jshintignore file, but at least you'll be able to compile!

If it helps, I made the repo that I was having issues with public: https://github.com/DerekFoulk/NopStrap

DerekFoulk avatar Apr 06 '17 16:04 DerekFoulk

Hey @DerekFoulk, Thank you for this solution, I hope we will use 'gulp notify" with a .jshintignore file one day.

fantomtracks avatar Jun 18 '17 21:06 fantomtracks