Hyperledger fabcar示例结构显示连接失败错误 [英] Hyperledger fabcar sample fabric showing connect failed ERROR

查看:56
本文介绍了Hyperledger fabcar示例结构显示连接失败错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试安装超级账本并运行链式代码.我按照我正在运行以下活动的docker 在运行 node query.js 之前,当我运行 npm install 时,会给出以下警告: npm WARN fabcar@1.0.0没有存储库字段.这是问题所在.谁能帮助我解决问题所在.

解决方案

安吉拉的答案的补充:

对于遇到此问题并使用Docker Toolbox的任何人,请执行 docker-machine ls 并将IP地址复制到您的ACTIVE机器的URL列,并将IP地址粘贴到每个 localhost query.js invoke.js 文件中.

I am trying to install hyperledger and run chain code. I followed all the steps as directed here. But getting error

error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Connect Failed

while running the query.js. I have following active docker running Before running the node query.js, when i am running npm install its giving following warning : npm WARN fabcar@1.0.0 No repository field. Is this the problem. Can any one please help me out about where it is going wrong.

解决方案

Addition to Angela's answer:

To anyone having this issue and using Docker Toolbox, do docker-machine ls and copy the IP adress at the URL column of your ACTIVE machine and paste the IP adress to every localhost in both query.js and invoke.js files.

这篇关于Hyperledger fabcar示例结构显示连接失败错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆