Fabric链码安装问题 出现如下报错: Error: failed to normalize chaincode path: failed to determine module root: exec: "go": executable file not found in $PATH Chaincode packaging has failed Deploying chaincode failed 原因1:GO环境配置错误 打开控制台用 go version 查看GO是否配置无误。 原因2:因权限问题使用了sudo sudo会导致识别不到$PATH环境变量,命令中不加sudo即可。