Reputation: 13
I'm running ubuntu 14.04 and have installed jshint using "sudo npm install jshint -g". However when running jshint in console with the commands:
$ jshint <.js file>
I observe no output after the command returns.
Doing:
$ which jshint
returns /usr/local/bin/jshint.
Any advice would be appreciated, thanks.
Upvotes: 0
Views: 453
Reputation: 13
Figured it out, had to install nodejs by downloading the package from the node js website rather than just using sudo apt-get install.
Upvotes: 1