visual-studio-code - 在 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来开发我的项目,我该怎么办?
解决方案
查看https://github.com/IBM-Blockchain/blockchain-vscode-extension/wiki/Errors-&-Fixes并按照与您的设置/版本相关的步骤进行操作。
推荐阅读
- java - 基于元素的最长公共前缀
- javascript - React Native 将 ref 传递给用 HOC 包装的功能组件
- javascript - 使用 Webgl 创建三角形的随机位置
- xml - 使用 XSD 验证一个元素或其他元素或两者
- visual-foxpro - 为什么这个 IF FOUND 的条件总是为真?
- python - 公共用户配置文件的 Django 信誉/类似系统 - 错误 404
- c++ - 如果太长,QLabel “中断”字
- tableau-api - 如何通过 REGEX 或关键字在 Tableau 中组合相似的维度值?
- sql - SQL 列包含另一行的 ID
- python - 具有同步设置的异步功能