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条)

报告相同问题?

悬赏问题

  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥15 (关键词-阻抗匹配,HFSS,RFID标签天线)
  • ¥15 机器人轨迹规划相关问题
  • ¥15 word样式右侧翻页键消失