go install
fails with .asdf/shims/go: not a directory
#142
-
I'm not sure what I have misconfigured, but my installation always fails when I try running % go install golang.org/x/tools/cmd/godoc@latest
golang.org/x/tools/cmd/godoc: go install golang.org/x/tools/cmd/godoc: mkdir /Users/{user}/.asdf/shims/go: not a directory My env: % which go
/Users/{user}/.asdf/shims/go
% asdf which go
/Users/{user}/.asdf/installs/golang/1.22.4/go/bin/go
% echo $GOROOT
/Users/{user}/.asdf/installs/golang/1.22.4/go
% echo $GOBIN
/Users/{user}/.asdf/shims/go/bin
% echo $GOPATH
/Users/{user}/.asdf/installs/golang/1.22.4/packages If it matters, the directory I'm running in has the following
If anyone can tell me what I need to do, please let me know :) |
Beta Was this translation helpful? Give feedback.
Answered by
breadnette
Aug 30, 2024
Replies: 1 comment
-
It seems to have resolved itself, not sure what was wrong with my config |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
breadnette
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems to have resolved itself, not sure what was wrong with my config