,我正在尝试使用超级分类系统的区块链资源管理器作为我的生产网络。但是,当我按照指示运行npm时,我得到了这个错误,它位于块链资源管理器目录:。
************************************************************************************
**************************** Hyperledger Explorer **********************************
************************************************************************************
./start.sh: 24: Syntax error: "(" unexpected
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! hyperledger-explorer@1.1.8 app-start: `./start.sh`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the hyperledger-explorer@1.1.8 app-start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/conqueror/.npm/_logs/2022-10-05T02_01_23_907Z-debug.log
ERROR: "app-start" exited with 2.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hyperledger-explorer@1.1.8 start: `run-s build app-start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hyperledger-explorer@1.1.8 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/conqueror/.npm/_logs/2022-10-05T02_01_23_940Z-debug.log谁能告诉我怎么才能修好它吗。我真的被困住了!
发布于 2022-10-14 10:08:59
如果您使用docker来安装资源管理器,那么您只需设置克隆的repo中的所有路径和配置。然后只需要执行以下命令。
1. docker system prune
2. docker volume prune
3. docker-compose down
4. docker-compose uphttps://stackoverflow.com/questions/73955405
复制相似问题