Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install gulp-jshint through npm

while installing gulp-jshint using node npm following error is showing "[email protected] requires a peer of [email protected] but none was installed-UNMET peer dependency". Can anyone help to solve this problem. I am using windows 7 OS.

like image 873
Aravindh A Avatar asked Nov 28 '22 20:11

Aravindh A


2 Answers

Try executing the following command npm install --save-dev jshint gulp-jshint.

If that doesn't work, please check this github issue on their repo.

like image 174
Tome Pejoski Avatar answered Nov 30 '22 09:11

Tome Pejoski


npm install -g jshint

What this error is telling you is that you are missing a dependency for gulp-jshint: in this particular case, jshint

jshint prefers to be installed globally, hence the -g flag.

like image 23
AJ X. Avatar answered Nov 30 '22 09:11

AJ X.