go-ftw icon indicating copy to clipboard operation
go-ftw copied to clipboard

Go install fails (directives to be interpreted differently than if it were the main module)

Open floyd-fuh opened this issue 4 months ago • 5 comments

% go version          
go version go1.22.0 darwin/amd64
% go install github.com/coreruleset/go-ftw@latest
go: github.com/coreruleset/go-ftw@latest (in github.com/coreruleset/[email protected]):
	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.

Maybe see also https://github.com/linuxkit/linuxkit/issues/3873 for a similar issue.

Your README says this should work.

floyd-fuh avatar Feb 27 '24 08:02 floyd-fuh