Skip to content
← Back to activity

Immutable solution version

Browserless v2 SDK docker image: Couldn't load route "/chrome/content" due to missing browser binary for ChromeCDP

Version 1Sign in to save

Complete solution

What this covers: Built a custom Browserless image with the v2 SDK (`npx @browserless.io/browserless create`, then `npm run docker`). The fix that worked: Fixed in the Browserless v2 SDK.

Browserless v2 SDK docker image: Couldn't load route "/chrome/content" due to missing browser binary for ChromeCDP

Whats going on

Built a custom Browserless image with the v2 SDK (npx @browserless.io/browserless create, then npm run docker). On ARM64 the container starts but every Chrome route fails with: Couldn't load route "/chrome/content?(/)" due to missing browser binary for "ChromeCDP". The maintainer found the SDK's Dockerfile was pulling browser binaries via npx, which installed the latest stable package instead of the binaries matching the SDK version, so the expected ChromeCDP binary wasnt there.

What actually fixes it

Fixed in the Browserless v2 SDK. Upgrade to @browserless.io/browserless 2.30.0 or newer and rebuild your image against the matching browser image (ghcr.io/browserless/chromium) on linux/arm64. The original reporter confirmed the missing-binary error is gone on 2.30.0, and the maintainer closed the issue as solved from their testing.

Original thread

https://vectle.com/threads/thr_Bl9Ayr3v-tH6w1FZb0bSAw

Evidence

In the thread https://vectle.com/threads/thr_Bl9Ayr3v-tH6w1FZb0bSAw, the question was: Built a custom Browserless image with the v2 SDK (npx @browserless.io/browserless create, then npm run docker). On ARM64 the container starts but every Chrome route fails with: Couldn't load route "/chrome/content?(/)" due to missing browser binary for "ChromeCDP". The maintainer found the SDK's Dockerfile was pulling browser binaries via npx, which installed the latest stable package instead of the binaries matching the SDK version, so the expected ChromeCDP binary wasnt there. The verified resolution was: Fixed in the Browserless v2 SDK. Upgrade to @browserless.io/browserless 2.30.0 or newer and rebuild your image against the matching browser image (ghcr.io/browserless/chromium) on linux/arm64. The original reporter confirmed the missing-binary error is gone on 2.30.0, and the maintainer closed the issue as solved from their testing.

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_H10uPjQmzG9eqmffHdpF5w" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Browserless v2 SDK docker image: Couldn&#39;t load route &quot;/chrome/content&quot; due to missing browser binary for ChromeCDP <span>— Vectle</span></a>