gjslint not found? #1

godbout opened this Issue Jan 18, 2012 · 11 comments


None yet
7 participants

godbout commented Jan 18, 2012

Can't make it work with the latest beta version of ST2 (haven't tried with old versions).
Get the error message:

/bin/sh: gjslint: command not found

aar0nr commented Jan 20, 2012

Same problem. I'm on ST2 build 2165


fbzhong commented Jan 21, 2012

It seems like the gjslint is not installed on your computer, or can't find in path.

If the gjslint is not included in %PATH, you can specific the path in settings: "gjslint_path": "/path/to/gjslint"

aar0nr commented Jan 23, 2012

Doh! Thanks :)

godbout commented Jan 30, 2012

Oh alright. I thought that the package was installing it inside his own folder in ST2. Thanks for the answer!

rtrukhin commented Feb 1, 2012

I can't set window path (e.g C:\Users\rtrukh\AppData\Roaming\Sublime Text 2\Packages\sublime-closure-linter) to "gjslint_path" param because spaces in path. Error: "The filename, directory name, or volume label syntax is incorrect.". Gjslint is included in %PATH. Any ideas how to fix it?

godbout commented Feb 1, 2012

I still haven't tried with installing gjslint but if you need to put the full path, then it's pretty dumb. You should be able to just put the path relative to ST2 and it should work.


fbzhong commented Feb 3, 2012

Hi rtrukhin,

Is your problem fixed?

Otherwise, can you please set the "debug" to true, and then copy the message to me in the Console window (ctrl+`) ?

gaearon commented Feb 16, 2012

I can confirm this is still an issue, at least on OS X. By default gjslinter gets installed into /usr/local/bin/, and it looks like the plugin can't find it there. I can run gjslint from the shell. Creating a symlink in /usr/bin/ solved the issue.


fbzhong commented Mar 2, 2012

I just hardcode the default path of gjslint to "/usr/bin/gjslint", which prevent search gjslint in path.

Let me fix that issue later.

I had the same issue. I looked in the readme for sublimelinter, and it had me check if the closure linter (gjslint) was installed.
I ran the code on the page, and it worked in sublime the next time I ran it.

See: https://developers.google.com/closure/utilities/docs/linter_howto

and run this in terminal:

sudo easy_install http://closure-linter.googlecode.com/files/closure_linter-latest.tar.gz

Works great now
Sublime Text 2 Beta build 2181

i had same problem. ( mac osx 10.7 lion)
but it worked by setting "gjslint_path" at menu of [Sublime Text 2] - [Preferences] - [Package Settings] - [Closure Linter] - [Settings - User]


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment