Open ZoomQuiet opened 2 years ago
工程可以启动后, 尝试目录, 文件等其它修改尝试, 只是变更了 import {} 中工程内部模块的引用, 就出现这种报错, 无法进一步调试.
请问发生了什么?
$ go build
than got:
# github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/discovery/client ../../pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/api.go:47:28: undefined: discovery.ChaincodeCall ../../pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:83:53: undefined: discovery.ChaincodeInterest ../../pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:120:55: undefined: discovery.ChaincodeCall ../../pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:124:13: undefined: discovery.ChaincodeInterest ../../pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:229:95: undefined: discovery.ChaincodeCall ../../pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:247:54: undefined: discovery.ChaincodeCall ../../pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:604:38: undefined: discovery.ChaincodeInterest ../../pkg/mod/github.com/hyperledger/fabric-sdk-go@v1.0.0/internal/github.com/hyperledger/fabric/discovery/client/client.go:620:25: undefined: discovery.ChaincodeCall
Remove Go client dependency on Fabric protoutils · Issue #342 · hyperledger/fabric-gateway https://github.com/hyperledger/fabric-gateway/issues/342
在其它相关模块使用过程中, 也有类似现象, 还没有结论...
工程可以启动后, 尝试目录, 文件等其它修改尝试, 只是变更了 import {} 中工程内部模块的引用, 就出现这种报错, 无法进一步调试.
请问发生了什么?
$ go build
than got: