dongyuntao2000 2016-08-30 05:14
浏览 83
已采纳

链码示例中没有可构建的Go源文件错误

I have just started learning GO and ChainCode. I have followed the instructions mentioned in the following URL to learn programming chain code

https://github.com/IBM-Blockchain/learn-chaincode

i have setup the code and ran the command $ go build ./

but i am getting the following error

../../../hyperledger/fabric/core/crypto/attributes/attributes.go:28:2: no buildable Go source files in /home/serveradmin/gowork/src/github.com/hyperledger/fabric/core/crypto/attributes/proto

let me know, if anyone come across this error and fixed it

  • 写回答

3条回答 默认 最新

  • dsfhe34889 2016-08-31 08:40
    关注

    Actually it was a bug after the update and it has already been addressed. As per the following, https://github.com/hyperledger/fabric/commit/af5f75d3fb52ee5cd607abfef4324fc049153268.

    Revert "Upgrade go protobuff from 3-beta to 3" This reverts commit a98c59a.

    We are experiencing several failures related to this merge, so lets revert it for now and re-group

    Please pull the latest version and it will work smoothly

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的
  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型