当我正在为golang文件安装一些约束时,这个错误就出现了。
Vendoring Go dependencies ...
~/blockchain/FabricNetwork-2.x-main/artifacts/src/github.com/fabcar/go ~/blockchain/FabricNetwork-2.x-main
go: github.com/hyperledger/fabric@v2.1.1+incompatible: missing go.sum entry; to add it:
go mod download github.com/hyperledger/fabric
go: github.com/hyperledger/fabric@v2.1.1+incompatible: missing go.sum entry; to add it:
go mod download github.com/hyperledger/fabric
~/blockchain/FabricNetwork-2.x-main
Finished vendoring Go dependencies发布于 2022-08-08 15:46:07
出现此错误是因为go包管理器没有创建包含包校验和的go.sum文件。
您是否尝试过按照邮件中的会议方式运行go mod download github.com/hyperledger/fabric?
missing go.sum entry; to add it:
go mod download github.com/hyperledger/fabric我希望这会有所帮助:)
致以问候。
https://stackoverflow.com/questions/73280008
复制相似问题