Following instructions here, but where do we specify channelList?
No channel information defined in example on main page, you should include the full sample instead.
var config=require('../config.json')
var channels=config.channelsList
`blockchain/fabric-explorer/utils/ledgerMgr.js:23
var currChannel=channels[0]
^
TypeError: Cannot read property '0' of undefined
at Object. (/Users//work/FUN/blockchain/fabric-explorer/utils/ledgerMgr.js:23:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/Users//work/FUN/blockchain/fabric-explorer/timer/timer.js:28:15)
at Module._compile (module.js:652:30)
Following instructions here, but where do we specify channelList? No channel information defined in example on main page, you should include the full sample instead.
var config=require('../config.json') var channels=config.channelsList
`blockchain/fabric-explorer/utils/ledgerMgr.js:23 var currChannel=channels[0] ^
TypeError: Cannot read property '0' of undefined at Object. (/Users//work/FUN/blockchain/fabric-explorer/utils/ledgerMgr.js:23:25)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/Users//work/FUN/blockchain/fabric-explorer/timer/timer.js:28:15)
at Module._compile (module.js:652:30)
`