I have this bug: java.lang.IllegalArgumentException: tlint path doesn't exist
Closed this issue ยท 9 comments
I can't find where to add the path to Tlint, so in my eyes there are to options to solve it.
- Is Clean a rebuild that when Linux
~/.config/composer/vendor/bin/tlint
- Is dirty
ln -s
the tlint to where ever Tlint-plugin looks
What OS are you running, and where does your composer resides?
This is something that needs improvement for other OS (Which I don't use regularly). Tighten devs primarily use OSX on dev machines, so it is currently setup to default to ~/.composer/vendor/bin/tlint
from the composer global installation.
My home is the same.
I think i have to set my $JAVA_HOME for System.getProperty("user.home")
to find it.
Did setting your $JAVA_HOME resolve your issue @nickclasener ? Sorry for the late response!
Would it be possible to add a bin path check? Or an option so set path in phpstorm?
Since we added tlinter to our project with composer require --dev as it should be.
@danijelk Yes this is on the todo list! (both checking and adding the config option, potentially a config option as well)
Anything on this? Same error appears for Windows 10 as well..
@randohinn @danijelk I've uploaded a new version of the plugin that first checks for a local bin version of tlint
, then falls back to a global version, and finally notifies the user there is no executable to be found. (It may be up to ~24hr before the plugin is published, v1.1.3
)
Seems to work as expected, thanks for that
@randohinn @danijelk I've uploaded a new version of the plugin that first checks for a local bin version of
tlint
, then falls back to a global version, and finally notifies the user there is no executable to be found. (It may be up to ~24hr before the plugin is published,v1.1.3
)
Can't seem to find the global tlint on my machine though...