microsoft / vscode-jshint

VSCode extension to integrate jshint into VSCode
https://marketplace.visualstudio.com/items?itemName=dbaeumer.jshint
MIT License
72 stars 48 forks source link

Failed to load jshint library #16

Closed jsnjack closed 6 years ago

jsnjack commented 8 years ago

I have just updated to the version 0.10.10. When I open javascript file, I got an error that says "Failed to load jshint library. Please install it...". I have jshint package installed globally with command npm install -g jshint. My output from terminal:

22:12 $ jshint -v
jshint v2.9.1

I'm on Fedora 23, jshint 2.9.1, vscode 0.10.10, jshint extension has version 0.10.6

jsnjack commented 8 years ago

It didn't work because of the bad npm configuration in my system. npm config get prefix returned /usr/local/, however all node modules were installed with /usr prefix

colek42 commented 8 years ago

thank you @jsnjack