【发布时间】:2023-04-02 14:43:01
【问题描述】:
在尝试实例化链码后出现以下错误:
2018-03-28 12:51:27.568 UTC [util] DockerBuild -> DEBU 3b2 Attempting build with image hyperledger/fabric-ccenv:x86_64-1.0.6
2018-03-28 12:51:28.418 UTC [chaincode-platform] func1 -> ERRO 3b3 Failed to generate platform-specific docker build: Error returned from build: 1 "can't load package: package chaincode/chaincode_example02: cannot find package "chaincode/chaincode_example02" in any of:
/opt/go/src/chaincode/chaincode_example02 (from $GOROOT)
/chaincode/input/src/chaincode/chaincode_example02 (from $GOPATH)
/opt/gopath/src/chaincode/chaincode_example02
嗯,之前的操作如channel create、channel join和chaincode install都成功了,或者至少日志上没有错误信息。我正在从 cli 容器运行所有命令,并且链代码存在于提到的 PATH 中。
谁能告诉我到底发生了什么?
【问题讨论】:
-
你解决了吗?
标签: hyperledger-fabric hyperledger