Issue
I am getting "Command ‘gopls.tidy’ failed: Error: err: exit status 1: stderr: go mod tidy: go.mod file indicates go 1.17, but maximum supported version is 1.16 ." error on Visual Studio Code. I can’t fix it with go mod tidy
and go mod init
. How can I solve this?
Solution
I deleted go and installed again then problem is solved.
Answered By – srls01
Answer Checked By – Marie Seifert (GoLangFix Admin)