Skip to content
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

Unable to install Go to Definition with "go get mkdir /xxx/: read-only file system" #39510

aliciayuting opened this issue Jun 10, 2020 · 1 comment


Copy link

@aliciayuting aliciayuting commented Jun 10, 2020

What version of Go are you using (go version)?

$ go version go1.14.3 darwin/amd64

Does this issue reproduce with the latest release?

What operating system and processor architecture are you using (go env)?

go env Output
$ go env

What did you do?

I have tried to change my Read/write authority but it doesn't work.
I've also tried to export paths:
export GOPATH=$HOME/gocode
export PATH=$PATH:$GOPATH/bin

But when I tried to run and install, it its still giving me the error of
"go get mkdir /xxx/: read-only file system"

"go get -v"

What did you expect to see?

I was expecting it to be installed

What did you see instead?

It gave me error message, and when I tried to go to definition of a function, it is showing "no definition found", even though the function is defined in the same file.

Thank you for your help in advance.

Copy link

@toothrot toothrot commented Jun 12, 2020

We don't really use our issue tracker for questions. More people will see your question, and you will get better answers, if you ask on a forum rather than on the issue tracker. See People in the forums can explain what is happening here.

@toothrot toothrot closed this Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.