设置marbles . step 4 error error: Caught exception: TypeError: Cannot read property 'getConnectivityState' of undefined

参考链接:https://github.com/IBM-Blockchain/marbles/issues/220

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px "Meslo LG M for Powerline"; color: #f4f4f4; background-color: rgba(0, 0, 0, 0.85) }
span.s1 { color: #c33720 }
span.s2 { }
span.s3 { color: #d75fc7 }

error: Caught exception:  TypeError: Cannot read property ‘getConnectivityState‘ of undefined

at EventHub._checkConnection (/Users/lishun/app/marbles/node_modules/[email protected]@fabric-client/lib/EventHub.js:471:38)

at EventHub.registerTxEvent (/Users/lishun/app/marbles/node_modules/[email protected]@fabric-client/lib/EventHub.js:713:8)

at setup_event_hub (/Users/lishun/app/marbles/utils/fc_wrangler/parts/invoke_cc.js:125:14)

at Object.invoke_cc.invoke_chaincode (/Users/lishun/app/marbles/utils/fc_wrangler/parts/invoke_cc.js:52:3)

at Object.fcw.invoke_chaincode (/Users/lishun/app/marbles/utils/fc_wrangler/index.js:57:13)

at Object.marbles_chaincode.register_owner (/Users/lishun/app/marbles/utils/marbles_cc_lib.js:230:7)

at Object.startup_lib.create_owners (/Users/lishun/app/marbles/utils/startup_lib.js:260:15)

at /Users/lishun/app/marbles/utils/startup_lib.js:211:17

at /Users/lishun/app/marbles/node_modules/[email protected]@async/dist/async.js:3083:16

at eachOfArrayLike (/Users/lishun/app/marbles/node_modules/[email protected]@async/dist/async.js:1003:9)

debug: [ws] broadcasting to clients.  1 error

参考链接解决如下:

npm uninstall grpc

rm -rf node_modules/

npm install

设置marbles . step 4 error error: Caught exception: TypeError: Cannot read property 'getConnectivityState' of undefined

原文地址:https://www.cnblogs.com/LeroyLeee/p/9102105.html

时间: 2024-07-30 20:18:33

设置marbles . step 4 error error: Caught exception: TypeError: Cannot read property 'getConnectivityState' of undefined的相关文章

Echarts 明明和官方文档配置一致,图表加载却是报错:Error in mounted hook: "TypeError: Cannot read property 'get' of undefined",重新npm run dev,问题解决。

在搞Echarts的关系图graph,一开始正常显示,如下: 然而就在本人修改了option里的curveness = 0.2,ctrl+f5强制刷新页面后,图表加载报错:Error in mounted hook: "TypeError: Cannot read property 'get' of undefined" 一开始以为是因为curveness的修改而报错,遂回退修改,然而问题依旧. 于是乎,研究一下报错的地方,就是“axisModel = undefined”这个鬼东西报

vue2.XX 提示[Vue warn]: Error in render: "TypeError: Cannot read property 'img' of undefined"

item 是向后台请求的一条数据,里面包含img,但是却提示img未定义 父组件向子组件传递数据时, 子组件 具体代码: <img :src="item.img" /> 提示: 出现的原因: 可能是页面渲染和请求数据是异步操作, 数据还未请求结束,页面已经开始渲染了,所以刚开始报未定义变量, 等数据获取结束后,再次渲染,页面内容出来了,但是刚开始的警告也出来了 解决办法: 1. <img :src="item && item.imgUrl&q

Vue(踩坑)vue.esm.js?efeb:628 [Vue warn]: Error in render: &quot;TypeError: Cannot read property &#39;0&#39; of undefined&quot; found in

1.项目报错如下 2.原因: 异步显示的数据先显示vuex中的初始数据,再显示请求的数据,一开始在vuex中state中的初始数据为空,报错是因为在显示初始数据的时候报错 3.解决:避免在没有数据的时候显示解析(有数据才解析) 有数据的时候div才存在,用v-if控制一下 5.总结:表达式有一层表达式(a),二层表达式(a.b),三层表达式(a.b.c), 当表达式三层的时候就有问题:比如a开始为空,a.b:的结果为undefined, a.b.c你再取的时候就会报错了 Vue(踩坑)vue.e

Vue ERROR TypeError: Cannot read property &#39;upgrade&#39; of undefined

跑vue项目的时候报错,最后终于解决,链接地址如下: https://segmentfault.com/a/1190000019532841: 截图如下(*.env中要定义变量,注释掉也会报错): Vue ERROR TypeError: Cannot read property 'upgrade' of undefined 原文地址:https://www.cnblogs.com/sherlock-Ace/p/11320224.html

vue路由使用问题:Error in render TypeError Cannot read property &#39;matched&#39; of undefined

记一个使用vue-router时的低级错误. 使用vue-router时,打开网页出现如下错误: 一开始我以为是vue-router没有安装好,重装后发现问题仍然存在.仔细检查过后发现问题出在main.js中的Vue对象中没有引用router: 在此总结一下使用vue-router的步骤 首先安装好vue-router后中,配置router文件夹下的index.js时分如下三步: import Vue from 'vue' import VueRouter from 'vue-router' /

java virtual machine launcher Error:Could not create the Java Virtual Machine. Error:A Fatal exception has occurred,Program will exit.

Error:Could not create the Java Virtual Machine. Error:A Fatal exception has occurred,Program will exit. 出现以上错误信息提示,如下图所示: 然后点击确定弹出以下错误信息 解决办法: 1.判断机子是否安装了Java环境.具体方法网上搜吧,这里还是给小白一个传送门:(设置) 注意设置自己的环境变量:如JAVA_HOME,CLASSPATH,PATH 2.有些程序会有内存设置,有些程序内存设置过大

Kafka中错误:Unrecognized VM option ‘UseCompressedOops’ Error: Clould not create the Java Vritual Machine. Error: A fatal exception has occurres . Program will exit.

错误的描述: 在kafka安装目录下,执行 $ bin/zookeeper-server-start.sh config/zookeeper.properties & Unrecognized VM option ‘UseCompressedOops’ Error: Clould not create the Java Vritual Machine. Error: A fatal exception has occurres . Program will exit. 解决方法: 找到bin/k

CSHOP后台设置SMTP发邮件提示 Error: need RCPT command 错误解决

其实错误原因并不是因为此错误,经检测,邮件服务器返回的真实错误是 501 mail from address must be same as authorization user .只因为同时返回了 503 Error: need MAIL command 和 503 Error: need RCPT command ,而ECSHOP只提示了最后一行错误. <br>220 smtp.qq.com Esmtp QQ Mail Server<br>250-smtp.qq.com250-

[USF-XSim 62]‘compile’ step failed with error(s).

[USF-XSim 62]'compile' step failed with error(s). Please check the Tcl console output or 'E:/Vivado/工程路径/sim_1/behav/xvlog.log'file for more information Vivado我也是很无奈呀,查错能力不强,仿真速度又慢,就这么一个问题让我查找了一天,还好最后解决了,分享出来希望后面遇到这样错误的同学不要 在这上面耗费太多时间. 这个错误一定是你的仿真文件有