-
Notifications
You must be signed in to change notification settings - Fork 867
JSHint needs to be installed with gulp-jshint #664
Comments
I saw that console notice during npm install, yet afterwards I had a folder jshint installed in the project node_modules folder and working. It wasn't installed by me. |
I've got jslint installed globally but still run into this error
|
I just did a test install of FoundationPress and jshint was not installed to Here are the steps I took to produce the error:
Gulp fails and I get this error: Followed by this warning: The |
@drivenfaroff that is a warning, not an error. Do you only get that warning or do you also get the error I described in my previous post? If you don't receive the error I was getting, then it looks like I was correct that it will fallback to the global |
@colin-marshall I don't get I do however get the following:
|
@drivenfaroff I can't tell what is causing your error(s) without seeing what comes directly before the log you posted. To get rid of that warning you can run |
@colin-marshall Log file attached. Similar issues to #665 |
I'm not sure what the source of your error is. Do you still get it after running |
@jimlongo56 @olefredrik:
As of version 2.0,
gulp-jshint
requiresjshint
to be installed globally or as a separate dependency in a project. Right now, linting does not work for those who don't havejshint
installed globally sincejshint
was not added topackage.json
whengulp-jshint
was added.I will take care of this shortly in a PR. I'm also adding
gulp-notify
to handle error notifications for all tasks, including lint. Now error notifications will be displayed through the user's OS notification system, in addition to the console.The text was updated successfully, but these errors were encountered: