-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Milestone
Description
gopls version: v0.7.4
gopls flags:
update flags: proxy
extension version: 0.30.0
go version: 1.17.1
environment: Visual Studio Code linux
initialization error: undefined
issue timestamp: Tue, 04 Jan 2022 09:07:13 GMT
restart history:
Tue, 04 Jan 2022 08:43:32 GMT: activation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
panic: SetRequire called with conflicting versions for path github.com/spf13/viper (v1.2.1 and v1.9.0) goroutine 5855 [running]: golang.org/x/mod/modfile.(*File).SetRequire(0xc007d71700, {0xc0058e9700, 0x1c, 0x30c}) rule.go:927 0x4da golang.org/x/tools/internal/lsp/cache.switchDirectness(0xc0035fc780, 0xc0033edf80, 0xe924d8) mod_tidy.go:442 0x2f3 golang.org/x/tools/internal/lsp/cache.directnessDiagnostic(0xc0033edf80, 0xc0035fc780, 0xc0072f2870) mod_tidy.go:369 0x19c golang.org/x/tools/internal/lsp/cache.modTidyDiagnostics({0xf83660, 0xc001ad4ba0}, {0xfacd60, 0xc0018f3000}, 0xc002d15c40, 0xc007d71300, {0xc0045b8280, 0x3, 0xd38317}) mod_tidy.go:213 0x4fc golang.org/x/tools/internal/lsp/cache.(*snapshot).ModTidy.func1({0xf835b8, 0xc004a435c0}, {0xf6c960, 0xc0018f3000}) mod_tidy.go:135 0x825 golang.org/x/tools/internal/memoize.(*Handle).run.func1() memoize.go:327 0xa9 created by golang.org/x/tools/internal/memoize.(*Handle).run memoize.go:320 0x1b0 [Error - 10:07:04 AM]
OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.
NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE.
DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.
<OPTIONAL: ATTACH LOGS HERE>
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.