xuehuiit / fabric-explorer

Fabric-explorer is a simple, powerful, maintainable, open source fabric explorer
http://www.blockchainbrother.com/
Apache License 2.0
123 stars 58 forks source link

接入自己网络遇到问题 TypeError: Cannot read property 'forEach' of undefined #25

Open skyhuihui opened 5 years ago

skyhuihui commented 5 years ago

postgres://postgres:password@127.0.0.1:5432/fabricexplorer (node:6272) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/home/skyhuihui/go/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/Platform.js:192:26) at at process._tickCallback (internal/process/next_tick.js:188:7) (node:6272) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:6272) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

EurusLiao commented 3 years ago

请问这个问题怎么解决?