Troubleshooting

Bricks CLI returns a parsing config failure for every command. What should I do?
~> bricks logout 

failed to read env config: unable to read config file: While parsing config: yaml: unmarshal errors: line 29: mapping key "web_app_url" already defined at 
line 26 line 30: mapping key "worker_count" already defined at line 27

This issue is likely caused by a corrupted or outdated config.yaml file in the Bricks CLI configuration directory. Open your terminal and execute the following to solve:

cd ~/.bricks/ && rm -rf config.yaml

Then re-authenticate:

bricks login

This will regenerate a fresh configuration file and restore proper CLI behavior.

Last updated

Was this helpful?