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?
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 tidythough.The
go.modfile has this replace line forgithub.com/grandcat/zeroconfpointing to../zeroconf. But that../zeroconffolder isn't in the repo, sogo mod tidythrows this error:I figure either the local
../zeroconfdirectory needs to be added to the repo, or maybe remove the replace if the upstream version works fine now?