首页 > 解决方案 > 在 VSCode 中使用 IBM 区块链平台扩展部署链码时出错

问题描述

我尝试使用 go 版本的示例链代码,但多次失败。VsCode的错误信息如下

Failed to install on peer Org1 Peer with reason: Could not install smart contact received error: failed with status:500 ::failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: external builder failed: external builder failed to build: external builder 'golang' failed: exit status 1

但是在使用javascript版本时它可以正常工作。我希望使用golang来开发我的项目,我该怎么办?

标签: visual-studio-codehyperledger-fabric

解决方案


查看https://github.com/IBM-Blockchain/blockchain-vscode-extension/wiki/Errors-&-Fixes并按照与您的设置/版本相关的步骤进行操作。


推荐阅读