hyperledger-fabric - debug node js chaincode ...?
问题描述
This link gives tutorial on debugging javascript chaincode in hyperledger fabric. I was able to debug my chaincode following it but recently I updated to fabric 1.2 and the peer channel list command
CORE_PEER_LOCALMSPID=Org1MSP CORE_PEER_MSPCONFIGPATH=/home/bct/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp peer channel list
fails with:
Fatal error when initializing core config : error when reading core config file: Unsupported Config Type ""
I tried to go back to v1.1 but the problem persists. Can someone give me the complete list of configuration steps that may have been missed in tutorial video (which I was following) that make the debugging chaincode work.
Thanks in advance.
解决方案
最后,发现在按照问题中的视频教程进行操作之前,必须下载和配置结构 sdk ( https://github.com/hyperledger/fabric-sdk-node )。
推荐阅读
- reactjs - 在 componentDidMount() 中调用 API 不工作
- python - 从用 python 编写的自定义 webhook 为 dialogflow 创建卡片响应
- rust - 为什么必须在特征对象引用的集合中指定关联类型?
- sql - PostgreSQL 中的 Oracle EXTRACT xml
- maven - 使 pom.xml 中的 com.here.platform sdk 版本通用
- android - 更新 HAXM 后,使用 Android API 28 的模拟器无法启动
- angular - Angular 2中的类模型不起作用
- iphone - 从 SideMenu 打开 UITabbar 内的 UIViewController
- c++ - 在 Qt Blocking Master 示例中使用 Mutex
- yii2 - Yii2 从类内访问类