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

cmd/go: go get error, remote: The project you were looking for could not be found. #23015

Closed
fivemeepo opened this issue Dec 6, 2017 · 4 comments

Comments

@fivemeepo
Copy link

Please answer these questions before submitting your issue. Thanks!

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

1.9.2

Does this issue reproduce with the latest release?

yes

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

MacOS High Sierra 10.13.1
amd64

What did you do?

I have a repository whose path is https://git.garena.com/gxx/liveserver/jupiter.git,
I run go get git.garena.com/gxx/liveserver/jupiter on my mac, and then I got an error:

wangyf@wyfs-MacBook-Pro:~/work/go/src/git.garena.com$ go get git.garena.com/gxx/liveserver/jupiter
# cd .; git clone https://git.garena.com/gxx/liveserver.git /Users/wangyf/work/go/src/git.garena.com/gxx/liveserver
Cloning into '/Users/wangyf/work/go/src/git.garena.com/gxx/liveserver'...
remote: The project you were looking for could not be found.
fatal: repository 'https://git.garena.com/gxx/liveserver.git/' not found
package git.garena.com/gxx/liveserver/jupiter: exit status 128

It seem that the "go get" can't parse the third directory after git.garena.com

What did you expect to see?

go get succees

What did you see instead?

can't go get the repository

@ianlancetaylor
Copy link
Contributor

That error is coming from git, not the go tool. If you run go get with the -x option, you will see the exact git command that it is running.

@ianlancetaylor ianlancetaylor changed the title go get error, remote: The project you were looking for could not be found. cmd/go: go get error, remote: The project you were looking for could not be found. Dec 6, 2017
@fivemeepo
Copy link
Author

I found the same issue here #21859
Thank you ianlancetaylor

@ianlancetaylor
Copy link
Contributor

@businiaowyf Does that help you fix the problem? If so we can close this issue.

@fivemeepo
Copy link
Author

Yes, you can close it. Although I haven't fix it, I think it helps. Thank you again.

@golang golang locked and limited conversation to collaborators Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants