-
Notifications
You must be signed in to change notification settings - Fork 63
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
File not found using Alt + j on linux, not working. #66
Comments
I cant get this to work on Ubuntu 14:04, where is your path for linux supposed to point to??? |
@stevematdavies for me on 14.04 I followed @luisantoniojr's suggestion and added these two lines:
I found the JSHint.py file by selecting Browse Packages from the Preferences menu I found where node was installed by running |
@mstrutt you are right, but I made a workaround, I just put this lines on
and it works! |
When i try alt + j, this error appeared:
[Errno 2] Arquivo ou diretório não encontrado
[cmd: [u'jshint', u'/home/luis/Encfs/arquivos/projetos/nodejs/scriptErp/server.js', u'--reporter', u'/home/luis/.config/sublime-text-2/Packages/JSHint/reporter.js']]
[dir: /home/luis/Encfs/arquivos/projetos/nodejs/scriptErp]
[path: /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games]
[Finished]
i tried the command outside sublime, worked:
luis@linux-pc:~$ jshint /home/luis/Encfs/arquivos/projetos/nodejs/scriptErp/app/controllers/script.js --reporter /home/luis/.config/sublime-text-2/Packages/JSHint/reporter.js
[JSHint: /home/luis/Encfs/arquivos/projetos/nodejs/scriptErp/app/controllers/script.js]
26,2: Unnecessary semicolon.
37,14: Use '!==' to compare with ''.
81,10: Missing semicolon.
100,9: Missing semicolon.
102,6: Unnecessary semicolon.
106,2: Unnecessary semicolon.
127,2: Unnecessary semicolon.
✗ 7 errors, double-click above, [F4] for next, [shift-F4] for previous.
So, i found a bug in JSHint.py, not have entry for linux. So i put, i known maybe not the best way, but worked:
The text was updated successfully, but these errors were encountered: