-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jshint peer dependence doesn't allow hinting against ES2015 #133
Comments
Do you mean that 2.9.1-rc1 doesn't meet the 2.x version requirement? That seems strange since it was being installed by default before.. |
I encountered the same error if
|
If you read the node semver details carefully (which I did to find out why it wasn't working and what you can do about it) you will see, sensibly, that any version with something on the back end of it doesn't meet the spec that 2.x matches. |
akc I tried what you mentioned up top but it didn't work for me: npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Michael\Deskto |
@mikejr76 what version of jshint have you installed? You will need to change your own package.json file, I have a line like this |
@mikejr76 I just upgraded things and had to change the jshint line to 2.9.1.-rc2 both in gulp-jshint and in my own package.json file to make it work again. Before I did, I got the exact same error message that you reported above |
fix test expectation for slightly different error message between 0.10.x and 4.x+ node versions remove the jshint devDependencies which brings up a bunch of issues covered here: spalger/gulp-jshint#133
^ This |
Note this is still an issue I have the same [email protected] requires a peer of [email protected] but none was installed. |
with jshint having removed 2.9.0 and replaced it with 2.9.1-rc1, its currently not possible to hint against ES2015 modules.
I managed to work around this by changing the peerDependencies entry in gulp-jshint's package.json file to
"jshint": "2.x || 2.9.1-rc1"
having installed gulp-jshint, but before installing jshint itself.Not sure if you want to enable this, but I post here in case others are having problems.
The text was updated successfully, but these errors were encountered: