Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts

Monday, May 25, 2015

Sublime Text and JSHint problem

Had some trouble getting JSHint to play nicely with Sublime Text 2 today.
I use it on my other dev machine, but for some reason I couldn't get it to work on my current Windows machine.

The Sublime Package Manager install went fine, but every time I triggered a build I got this error:
[Error 2] The system cannot find the file specified








After some #¤%&!! the problem was solved.
I had forgotten to install the 'jshint' npm package. stupid.me();
npm install -g jshint