Go version
go version go1.24.4 windows/amd64
Output of go env
in your module/workspace:
set AR=ar
set CC=gcc
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_ENABLED=1
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set CXX=g++
set GCCGO=gccgo
set GO111MODULE=
set GOAMD64=v1
set GOARCH=amd64
set GOAUTH=netrc
set GOBIN=
set GOCACHE=C:\Users\overstarry\AppData\Local\go-build
set GOCACHEPROG=
set GODEBUG=
set GOENV=C:\Users\overstarry\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFIPS140=off
set GOFLAGS=
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\OVERST~1\AppData\Local\Temp\go-build2668430069=/tmp/go-build -gno-record-gcc-switches
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=git.minigame.vip
set GOMOD=NUL
set GOMODCACHE=D:\go\pkg\mod
set GOOS=windows
set GOPATH=D:\go
set GOPROXY=https://proxy.golang.org,https://goproxy.cn,https://goproxy.io,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTELEMETRY=local
set GOTELEMETRYDIR=C:\Users\overstarry\AppData\Roaming\go\telemetry
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.24.4
set GOWORK=
set PKG_CONFIG=pkg-config
What did you do?
install dlv failed
What did you see happen?
PS D:\code\ga-test> go install github.com/go-delve/delve/cmd/dlv@latest
go: downloading github.com/go-delve/delve v1.25.0
# golang.org/x/sys/windows
D:\go\pkg\mod\golang.org\x\sys@v0.26.0\windows\service.go:97:33: undefined: STANDARD_RIGHTS_REQUIRED
What did you expect to see?
non
Comment From: gabyhelp
Related Issues
- Can't install delve on Win64 #45755 (closed)
- Installing github.com/go-delve/delve/cmd/dlv@master FAILED #48661 (closed)
- cannot install delve - could not import internal/goarch #59295 (closed)
- x/pkgsite: #59535 (closed)
- go installing #71520 (closed)
- cmd/go: `expected 'package', found 'EOF'` errors with module indexing enabled on WSL2 #54651
- go get is downloading a large vcs cache and does not succeed #49793 (closed)
- cmd/compile: nil pointer panic when building delve in Docker on Windows #41257 (closed)
- cmd/go: module tool failures for delve #38272 (closed)
- cmd/go: mkdir C:\Program Files\Go: Access is denied. #44691 (closed)
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Comment From: seankhliao
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions
Comment From: aarzilli
Isn't it a bug that a go install
that normally works, isn't for one user?