-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Go executable not found in PATH #1645
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
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
@tonydunn Could you please update to v1.35.2, there was a fix in |
@SVilgelm I updated as requested. A cold start of sublime gets this:
Anything else I can do to provide information? For sure both 'go' and 'golangci-lint' are in my PATH and run from from cli. |
It's a SublimeLinter configuration issue. Check your Subime configuration. |
@ldez That's even worse news :( I was starting to think that might be it, as the SublimeLinter debug is where all the ugliness is. I'll go and take a look, maybe see if there is an issue over there. Close this issue? |
Sorry but I cannot help you more because I don't use SublimeText, so yes I will close this issue. |
We need to make golangci-lint avalible for all users. |
Thank you for creating the issue!
Please include the following information:
Version of golangci-lint
[tony@linux-box-ajd Installed Packages]$ golangci-lint version
golangci-lint has version 1.35.0 built from 1e5ba1e on 2021-01-08T02:12:28Z
Config file
This file is not present on my system.
Go environment
Verbose output of running
I have installed Sublime Linter, SublimeLinter-golangcilint, and the golangci-lint helper as per instructions, but am unsuccessful in getting the linter to work with Sublime 3 (dev channel build 3210) on Manjaro Linux.
I can run golangci-lint from the command line, and it appears to work OK. It was installed with curl as per the instructions, and the binary lives in /home/tony/.local/bin/golangci-lint. I set debug on for SublimeLinter and when I open a Go file, the output is something like this:
As you can see, an issue is that golangcilint can't find the 'go' executable, and so generates an error and no output in Sublime. The go executable is in my path I'm sure, so:
The go executable is in /usr/local/go/bin, so I can't really see why golangcilint thinks it can't find it on the PATH.
Sublime Linter works 100% fine with other languages/linters, it's just this one that I'm struggling with. Is this a genuine issue, or a rookie mistake? Appreciate some help.
Thanks
Tony
The text was updated successfully, but these errors were encountered: