npm 12 can skip Puppeteer’s browser download while npm install stays green. Reproduce it, approve one pinned package, rebuild, and verify
Originally published at CodeReport Global — read the full guide with code, screenshots and benchmarks at https://codereportglobal.indevs.in/articles/npm12-puppeteer-chrome-missing.
Why this matters
npm install can finish successfully under npm 12 while Puppeteer still has no browser to launch. That is the failure boundary this article covers—not npm 12 in general, and not a generic Puppeteer tutorial. In a disposable fixture using Node 22.22.2, npm 12.0.2, Puppeteer 25.9.0, and an isolated Puppeteer cache,…
What you'll get in the full article
- What npm 12 changed for this package
- Reproduce the failure before changing policy
- Approve one reviewed version, then rebuild
- Put the browser check in CI
- Read the failure by category
- Copy-paste commands + expected output + common errors
- Verified on the exact versions mentioned — no fluff
👉 Read the full article: https://codereportglobal.indevs.in/articles/npm12-puppeteer-chrome-missing
If this saved you time, a reaction on dev.to helps — discussion continues on the original post.
Canonical: https://codereportglobal.indevs.in/articles/npm12-puppeteer-chrome-missing
Top comments (0)