-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
go command required, not found #137
Comments
please, more details:
|
Sorry. There you go: version: 3.4.5 Command: Output: I should add I'm trying to move from an older version that doesn't have the version flag, so no idea what version it was, but the command parameters worked there flawlessly. I tried to update with go install but had some problems there so I used snap. |
what shows you:
? |
|
try to use:
|
It's still the same error unfortunately. |
Your issue is related to configuration of your Snapd. Unfortunately, can't suggest what is wrong on your host with Snap. Reinstall the tool using go command
|
Any idea why this happens then?
I can't seem to be able to get the right binary out of this, it doesn't even have the |
v1 is fetched because of linter package inside the project. it is ok. try to install the tool using |
my bad. don't use version if you're installing the tool using
|
@jniewt have you had a chance to resolve it on you environment? |
No, sorry. I gave up and I'm using the old one. Whenever I install it with
go like you said it installs fine but when I run it it still seems to run
the old one and I can't find the reason for that. Or I assume it's the old
one because it doesn't have a -version option.
…On Sat, 25 Nov 2023, 21:28 Vyacheslav Pryimak, ***@***.***> wrote:
@jniewt <https://github.com/jniewt> have you had a chance to resolve it
on you environment?
—
Reply to this email directly, view it on GitHub
<#137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJJGZKRWTBXJVSKAXRKR6VTYGJIF7AVCNFSM6AAAAAA4YALO3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWGQYTGOBTGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I installed goimports-reviser with go ( |
@elbert-chan is it working from cli? not via your IDE? |
yes, cli is working. but IDE(goland) is not. |
I removed all files concerning goimports-reviser from my system and installed it with: |
yes. it is the latest version |
@jniewt Have you solved your problem? I'm having the same issue. |
just solved my problem, need to add go/libexec to $PATH
|
Installed with snap and now I'm getting:
Failed to fix file: err: go command required, not found: exec: "go": executable file not found in $PATH: stderr:
even though go (1.19) is in my $PATH.
The text was updated successfully, but these errors were encountered: