Open maibarra opened 1 week ago
I'm seeing the same issue. I was able to resolve the GOSUMDB
error by export GOSUMDB="sum.golang.org"
but that caused a bunch of warnings
Please execute the go env command in the command line, then paste the output here
Thanks @bamcop , here's the output:
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/myUser/Library/Caches/go-build'
GOENV='/Users/myUser/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/myUser/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/myUser/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/Users/myUser/.go'
GOSUMDB=''
GOTMPDIR=''
GOTOOLCHAIN=''
GOTOOLDIR='/Users/myUser/.go/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.23.0'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/Users/myUser/Library/Application Support/go/telemetry'
GCCGO='gccgo'
GOARM64='v8.0'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/Users/myUser/git/fabric/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/x2/j8d4xkz14nv7p74fmvr8vf0w0000gn/T/go-build2307916941=/tmp/go-build -gno-record-gcc-switches -fno-common'
Suggestions are welcome. Thank you!
@maibarra execute this in the command line
go env -w GOSUMDB='sum.golang.org'
What happened?
I was doing the migration process, when THIS happened: after attempting
go install github.com/danielmiessler/fabric@latest
After I setup
GOPROXY=https://proxy.golang.org,direct
through zshrc, here's what happened:github.com/danielmiessler/fabric@v1.4.3: verifying module: missing GOSUMDB
. I was expecting Installation in goland to happen instead.
Is there an easier way to migrate old Python-based fabric to new Golang-esque Fabric?
Or should i just try and install the old version again?
Thanks in advance.
Version check
Relevant log output
Relevant screenshots (optional)