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
gomod graph '**'
11:44:41 error modinfo Command exited with an error. {"args": ["/Users/bjoern/gocode/bin/go", "go", "list", "-json", "-m", "-mod=mod", "all"], "error": "exit status 1"}
11:44:41 error modinfo Failed to list modules in dependency graph via 'go list'. {"error": "failed to run 'go list -json -m -mod=mod all: exit status 1"}
Error: failed to run 'go list -json -m -mod=mod all: exit status 1
And the direct output of the list:
go list -json -m -mod=mod all
go: -mod may only be set to readonly when in workspace mode, but it is set to "mod"
Remove the -mod flag to use the default readonly value,
or set GOWORK=off to disable workspace mode.
Checklist
Your description contains all necessary context to understand and reproduce the bug you are reporting.
You have filled in the three sections below and deleted their corresponding placeholders texts.
Description
I cannot run the command
Suggested way of addressing this issue
the list command seems to work without the -mod=mod? is it needed?
Additional information
go version go1.20.5 darwin/arm64
The text was updated successfully, but these errors were encountered:
Same problem:
K:\Delphi\Blockchains\SkyVite\WorkTrees\GoModAnalysis\version release 2.13.0>gomod analyse
21:39:28 error modinfo Command exited with an error. {"args": ["G:\Tools\Go\bin\go.exe", "go", "mod", "download"], "error": "exit status 1"}
21:39:28 error modinfo Failed to run 'go mod download'. {"error": "failed to run 'go mod download: exit status 1"}
Error: failed to run 'go mod download: exit status 1
Usage:
gomod analyse [flags]
K:\Delphi\Blockchains\SkyVite\WorkTrees\GoModAnalysis\version release 2.13.0>gomod graph
21:40:37 error modinfo Command exited with an error. {"args": ["G:\Tools\Go\bin\go.exe", "go", "mod", "download"], "error": "exit status 1"}
21:40:37 error modinfo Failed to run 'go mod download'. {"error": "failed to run 'go mod download: exit status 1"}
Error: failed to run 'go mod download: exit status 1
Usage:
gomod graph [flags]
Bug report
And the direct output of the list:
Checklist
Description
I cannot run the command
Suggested way of addressing this issue
the list command seems to work without the -mod=mod? is it needed?
Additional information
go version go1.20.5 darwin/arm64
The text was updated successfully, but these errors were encountered: