You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ brew info go
go: stable 1.17.2 (bottled), HEAD
Open source programming language to build simple/reliable/efficient software
/usr/local/Cellar/go/1.17.2 (10,814 files, 565.8MB) *
Poured from bottle on 2021-11-05 at 16:48:01
$ uname -a
Darwin 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64
OS: macOS 11.5.2 Intel
What did you do?
Everything was working well until I ran the following command:
$ go clean -modcache
After ran this command, it took almost 1h to complete. Eventually, some cmd/go commands stops working. I waited almost several hours for each the following commands:
$ go mod download
$ go list -m golang.org/x/exp
Tried to update from 1.17.1 to 1.17.2 using brew, nothing changed.
What did you expect to see?
It should download go mods and list the modules?
What did you see instead?
Nothing happened, seems stucked, and no error out
The text was updated successfully, but these errors were encountered:
Can you try running with -x? I see you have GOPROXY=direct, this interacts with the various version control systems directly and will in general be much slower than using a proxy, especially if you have a lot of dependencies
Thanks! Passing -x increased the verbosity! (i thought it was the -v flag) Just noticed that it mostly awaits for fetching google-api-go-client. And It took too long to complete, but worked eventually.
As a feature request, we can increase the verbosity by default, if you liked the idea i can drop a feature proposal for the following one:
$ go mod download
Creating VCS cache for github.com/googleapis/google-api-go-client (987 MB)