-
Notifications
You must be signed in to change notification settings - Fork 1
Missing local zeroconf replacement directory causes go mod tidy to fail #1
Copy link
Copy link
Open
Description
Hello ,
Thanks a lot for this Matter library—I've been really interested in it and wanted to give it a try! I'm hitting a snag when I try to run go mod tidy though.
The go.mod file has this replace line for github.com/grandcat/zeroconf pointing to ../zeroconf. But that ../zeroconf folder isn't in the repo, so go mod tidy throws this error:
❯ go mod tidy
go: github.com/backkem/matter/pkg/discovery imports
github.com/grandcat/zeroconf: github.com/grandcat/zeroconf@v1.0.1-0.20230119201135-e4f60f8407b1: replacement directory ../zeroconf does not exist
go: github.com/backkem/matter/examples/common imports
github.com/pion/logging tested by
github.com/pion/logging.test imports
github.com/stretchr/testify/assert: github.com/grandcat/zeroconf@v1.0.1-0.20230119201135-e4f60f8407b1 (replaced by ../zeroconf): reading ../zeroconf/go.mod: open /Users/guoyuchao/dev/backkem/zeroconf/go.mod: no such file or directory
go: github.com/backkem/matter/test/integration tested by
github.com/backkem/matter/test/integration.test imports
github.com/pion/webrtc/v4 tested by
github.com/pion/webrtc/v4.test imports
github.com/stretchr/testify/require: github.com/grandcat/zeroconf@v1.0.1-0.20230119201135-e4f60f8407b1 (replaced by ../zeroconf): reading ../zeroconf/go.mod: open /Users/guoyuchao/dev/backkem/zeroconf/go.mod: no such file or directory
I figure either the local ../zeroconf directory needs to be added to the repo, or maybe remove the replace if the upstream version works fine now?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels