When I attempt to build, it fails and the console reads:
[Error 2] The system cannot find the file specified
Installed on Sublime Text 2 Build 2181 via Package Control.
Did you run with control-J?
Was this on Windows? I haven't set the path correctly for Windows yet. Need someone to help on that since I'm on a Mac.
[ Ctrl ] + [ J ]
[ Ctrl ] + [ B ]
Thank you for the detail. I'm assuming that you already installed node-jshint npm -g install jshint
npm -g install jshint
When you have succeeded, please let me know the correct path and I will update the codebase for everyone.
This will fix it:
"cmd": ["jshint.cmd", "$file"]
This assumes that users have node installed and that the path to node is in their CLASSPATH in environmental variables: C:\Program Files (x86)\nodejs
C:\Program Files (x86)\nodejs
Adds command specific to Windows. Updates README with note about assumptions.
Closes #12. Thanks anstosa!
Fixes a problem with Sublime Text 2 on Mac
This fixed an issue that was not allowing the build when hitting `cmd` + `j` on Sublime Text 2 for Mac.
Related to issue #33 as well as closed issues #12 and #14.
npm -g install jshint fixed mine
Pick your reaction