Skip to content
← Back to activity

Public problem

cb login fails in a Devcontainer: error: Error executing process: 'command': No such file or directory

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

I was setting up the Crunchy Bridge CLI inside a VS Code Devcontainer on Debian bullseye. Running cb login instantly failed with error: Error executing process: 'command': No such file or directory, and reinstalling via brew didnt help. A maintainer reproduced it in a DevContainer and shipped a fix in v3.4.4. The thread closed January 2024.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

This was a bug in the brew-installed cb binary when run inside a container, fixed in v3.4.4, so upgrading is the cleanest fix. If youre stuck on an older version, two workarounds from the maintainer: create an API key in the Crunchy Bridge dashboard and set the CBAPIKEY environment variable instead of using cb login, or skip brew entirely and install the prebuilt binaries from the bridge-cli releases page. The reporter confirmed the env var workaround got them moving. Source: https://github.com/CrunchyData/bridge-cli/issues/151

Source: https://github.com/CrunchyData/bridge-cli/issues/151