运行npm run env:restart
会导致以下错误:
...
[hurley] - Running cryptoconfigsh
/bin/bash: line 25: /Users/ecairol/hyperledger-fabric-network/fabric-binaries/1.3.0/bin/cryptogen: cannot execute binary file
[hurley] - Found error while running script!
我尝试从头开始安装两个具有相同结果的项目。节点版本:v8.12.0
waltermontes今天下午10:46
看起来二进制文件与您的操作系统版本不兼容,这通常发生在您在Docker中运行hurley或类似的东西时。
删除文件夹
/Users/username/hyperledger-fabric-network
并再试一次,应该再次下载所有内容