1

我已经安装了设置超级账本资源管理器的所有先决条件,但是当我启动它时,我在日志文件中收到以下错误:

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)
4

1 回答 1

1

正如错误所暗示的那样,您指定了一个目录而不是发生读取操作的文件,我认为您在 config.json 文件中的某个位置给出了不正确的路径。请检查或发布 config.json 文件,以便识别问题。

于 2018-05-29T13:58:40.737 回答