Reputation: 11
While generating the configtx peer block for Hyperledger Fabric Channel Creation in Amazon Managed Blockchain Facing an error CRIT 002 Error reading configuration: Unsupported Config Type "" ERRO 003 Could not find configtx.yaml. Please make sure that FABRIC_CFG_PATH or --configPath is set to a path which contains configtx.yaml
Even though I tried export FABRIC_CFG_PATH=$PWD still facing same error.
Upvotes: 1
Views: 1078
Reputation: 1034
Make sure you defined correctly the Fabric config directory. In terminal in the root folder of you HLF configuration just use the command:
export FABRIC_CFG_PATH=${PWD}/<folder-with-configtx.yaml-and-crypto-config.yaml>
Upvotes: 1