设置marbles . step 4 error error: Caught exception: TypeError: Cannot read property 'getConnectiv

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了设置marbles . step 4 error error: Caught exception: TypeError: Cannot read property 'getConnectiv相关的知识,希望对你有一定的参考价值。

参考链接: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/[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 'getConnectiv的主要内容,如果未能解决你的问题,请参考以下文章

codeforces E. Marbles(状压dp)

fabric里的marble私有数据访问案例

rxjs-marbles 测试没有任何期望

Marbles(博弈SG函数)

lightoj-1050 - Marbles(dp)

UVA 10090 Marbles(扩展欧几里得)