# X_SHOT_BROWSER_MISSING

## Means

`x shot` has no browser to launch

## Typical cause

none was named — `--browser`, `PUPPETEER_EXECUTABLE_PATH`, `CHROME_PATH` — and none of the four probed paths (`/usr/bin/google-chrome` and its siblings) is on disk. Raised before the dev server boots. As of 22.0.0 `x shot` drives Chrome over raw CDP, with no browser library in the app: it no longer means `puppeteer-core` is missing

## Fix

`export CHROME_PATH=/usr/bin/google-chrome` — or attach to a browser somebody else runs: `x shot / --cdp-url wss://cdp.example.com/session/abc`

[Encrypted secrets](/error-codes#encrypted-secrets)
