老师,这里报错了,我设置了path,目录下也有configtx.yaml
来源:6-2 网络搭建配置生成

慕丝6063840
2020-02-17
root@inet:~/go/src/github.com/hyperledger/fabric/imocc/deploy# configtxgen -profile OneOrgOrdererGenesis -outputBlock ./config/genesis.block
2020-02-17 13:35:18.698 CST [common/configtx/tool] main -> INFO 001 Loading configuration
2020-02-17 13:35:18.698 CST [common/configtx/tool/localconfig] Load -> CRIT 002 Error reading configuration: Unsupported Config Type ""
2020-02-17 13:35:18.698 CST [common/configtx/tool] func1 -> ERRO 003 Could not find configtx.yaml. Please make sure that FABRIC_CFG_PATH is set to a path which contains configtx.yaml
root@inet:~/go/src/github.com/hyperledger/fabric/imocc/deploy# ll
total 44
drwxrwxr-x 4 inet inet 4096 Feb 17 13:20 ./
drwxrwxr-x 7 inet inet 4096 Feb 13 14:19 …/
drwxrwxr-x 2 inet inet 4096 Feb 13 14:19 config/
-rw-rw-r-- 1 inet inet 5104 Feb 13 14:19 configtx.yaml
drwxr-xr-x 4 root root 4096 Feb 17 13:20 crypto-config/
-rw-rw-r-- 1 inet inet 4145 Feb 13 14:19 crypto-config.yaml
-rw-rw-r-- 1 inet inet 5482 Feb 13 14:19 docker-compose.yaml
-rw-rw-r-- 1 inet inet 3020 Feb 13 14:19 memo.md
1回答
-
Could not find configtx.yaml. Please make sure that FABRIC_CFG_PATH is set to a path which contains configtx.yaml
设置下这个环境变量
012020-02-17
相似问题