missing ziphash error while importing local module with Go modules

Viewed 1142

I'm trying to import a local module as follows:

module my_module

go 1.13

require nimbus v0.0.0

replace nimbus => ../../nimbus

The IDE (I'm working with Goland) is able to find the package as expected and importing features from the module nimbus works as expected, but, when running the command

go mod verify

This error occurs:

nimbus v0.0.0: missing ziphash: open hash: no such file or directory

The local package I'm trying to import has a go.mod file as follows:

module nimbus

go 1.13

require (
    cloud.google.com/go/firestore v1.2.0
    firebase.google.com/go v3.13.0+incompatible
    golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
    google.golang.org/api v0.25.0
    google.golang.org/grpc v1.29.1
)

I could not find an explanation for this error by Googling it.

0 Answers
Related