码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-05-28 21:10:43      阅读:1064      评论:0      收藏:0      [点我收藏+]

标签:setup   can   app   style   cti   color   state   reg   title   

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

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

    at EventHub._checkConnection (/Users/lishun/app/marbles/node_modules/_fabric-client@1.0.5@fabric-client/lib/EventHub.js:471:38)

    at EventHub.registerTxEvent (/Users/lishun/app/marbles/node_modules/_fabric-client@1.0.5@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/_async@2.5.0@async/dist/async.js:3083:16

    at eachOfArrayLike (/Users/lishun/app/marbles/node_modules/_async@2.5.0@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

标签:setup   can   app   style   cti   color   state   reg   title   

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

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!