Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSHint: Getting TypeError #75

Open
globegithub opened this issue Aug 30, 2015 · 0 comments
Open

JSHint: Getting TypeError #75

globegithub opened this issue Aug 30, 2015 · 0 comments

Comments

@globegithub
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant