#Go workspace a. modules upgrade problem from 1.21 to 1.22

3 messages · Page 1 of 1 (latest)

frail ivy
#

I've updated go from 1.21.5 to 1.22.0 and my existing modules keep "throwing" this error:
go: go.work requires go >= 1.22.0 (running go 1.21.5)

I've already changed the version of the modules and workspaces, with cli and without. Change gopath and so on. But this issue is still arround 😦

slate lynx
#

Thanks for your question :clap:, if someone gives you an answer it would be great if you thanked them with a :white_check_mark: in response. This response will earn you both points for special roles on this server.

frail ivy
#

well, it was "relatively" simple. I wanted to completely uninstall go and reinstall it. Which is why I ran "which go". Then I realised that I've installed an older version of go with homebrew. So I uninstalled go with homebrew and the normal version was left.