Open maruel opened 2 months ago
% go install zgo.at/goatcounter/v2/cmd/goatcounter@latest
go: zgo.at/goatcounter/v2/cmd/goatcounter@latest (in zgo.at/goatcounter/v2@v2.5.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.
This seems to be new; pretty sure this worked at some point.
Not entirely sure what the solution is here 🤔
The solution is to get rid of the replace
statements. For zgo.at/bgrun, either creating the repository or reverting back to local (I'd recommend the later).
For the two others, figure out how to get https://github.com/oschwald/geoip2-golang/pull/68 and https://github.com/oschwald/maxminddb-golang/pull/75 in or to do a real fork for these two repositories.
At the time of writing, https://github.com/arp242/goatcounter/blob/master/go.mod contains 3
replace
statements:These make the project impossible to import
zgo.at/goatcounter/v2
as package.