Paul Marriott
1 min readApr 17, 2019

--

I think you have a bug in your repo. When trying to generate the genesis block it will fail.

panic: Error reading configuration: While parsing config: yaml: unknown anchor ‘OrdererDefaults’ referenced [recovered]

It can be fixed by opening the file configtx.yaml and moving the profile section to the end. The answer was found looking at the link

http://blog.chapagain.com.np/hyperledger-fabric-composer-error-reading-configuration-while-parsing-config-yaml-unknown-anchor-ordererdefaults-referenced/

I hope this helps

--

--

No responses yet