You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I successfully installed jshint via node.js: npm install -g jshint
Then I installed JSHint package in Sublime.
I get the following error when I do CTRL-B in sublime Text 2
C:\Users\ml414c\AppData\Roaming\Sublime Text 2\Packages\JSHint\reporter.js:18
buffer += '[JSHint: ' + results[0].file + ']\n\n';
^
TypeError: Cannot read property 'file' of undefined
at exports.reporter (C:\Users\ml414c\AppData\Roaming\Sublime Text 2\Packages\JSHint\reporter.js:18:37)
at Object.exports.run (C:\Users\xxx\AppData\Roaming\npm\node_modules\jshint\src\cli.js:654:35)
at Object.exports.interpret (C:\Users\xxx\AppData\Roaming\npm\node_modules\jshint\src\cli.js:737:18)
at Object. (C:\Users\ml414c\AppData\Roaming\npm\node_modules\jshint\bin\jshint:3:26)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
The text was updated successfully, but these errors were encountered:
I'd appreciate your help ...
On Windows 7, Sublime Text 2
I successfully installed jshint via node.js: npm install -g jshint
Then I installed JSHint package in Sublime.
I get the following error when I do CTRL-B in sublime Text 2
C:\Users\ml414c\AppData\Roaming\Sublime Text 2\Packages\JSHint\reporter.js:18
buffer += '[JSHint: ' + results[0].file + ']\n\n';
^
TypeError: Cannot read property 'file' of undefined
at exports.reporter (C:\Users\ml414c\AppData\Roaming\Sublime Text 2\Packages\JSHint\reporter.js:18:37)
at Object.exports.run (C:\Users\xxx\AppData\Roaming\npm\node_modules\jshint\src\cli.js:654:35)
at Object.exports.interpret (C:\Users\xxx\AppData\Roaming\npm\node_modules\jshint\src\cli.js:737:18)
at Object. (C:\Users\ml414c\AppData\Roaming\npm\node_modules\jshint\bin\jshint:3:26)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
The text was updated successfully, but these errors were encountered: