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 27This 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.yamlThen re-authenticate:
bricks loginThis will regenerate a fresh configuration file and restore proper CLI behavior.
Last updated
Was this helpful?

