chandana varshini
chandana varshini

Reputation: 11

Unsupported Config Type ""

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

Answers (1)

grzebyk
grzebyk

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

Related Questions