Go install not working

Running go install gitlab.com/gitlab-org/cli/cmd/glab@main (see https://gitlab.com/gitlab-org/cli#prerequisites-for-building-from-source).

Errors with:

go: gitlab.com/gitlab-org/cli/cmd/glab@latest (in gitlab.com/gitlab-org/cli@v1.74.0):
	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

Likely because this replace directive in the go.mod file add in: 668c79b9