启动 hyperledger 资源管理器失败

Starting hyperledger explorer fails

我已经安装了设置 hyperledger Explorer 的所有先决条件,但是当我启动它时,我在日志文件中收到以下错误:

postgres://hppoc:password@127.0.0.1/fabricexplorer
fs.js:675
return binding.read(fd, buffer, offset, length, position);
             ^

Error: EISDIR: illegal operation on a directory, read
at Object.fs.readSync (fs.js:675:18)
at tryReadSync (fs.js:540:20)
at Object.fs.readFileSync (fs.js:583:19)
at configuration.getPeersByOrg.forEach.key (/home/ubuntu/blockchain-explorer/app/FabricClientProxy.js:164:20)
at Array.forEach (<anonymous>)
at FabricClientProxy.setupPeers (/home/ubuntu/blockchain-explorer/app/FabricClientProxy.js:161:36)
at configuration.getOrgs.forEach.key (/home/ubuntu/blockchain-explorer/app/FabricClientProxy.js:155:10)
at Array.forEach (<anonymous>)
at FabricClientProxy.createDefault (/home/ubuntu/blockchain-explorer/app/FabricClientProxy.js:137:27)
at new FabricClientProxy (/home/ubuntu/blockchain-explorer/app/FabricClientProxy.js:32:8)

正如错误提示的那样,您指定了一个目录而不是正在执行读取操作的文件,我认为您在 config.json 文件中的某处提供了错误的路径。请检查或 post config.json 文件,以便确定问题。