Files
hyperframes/packages
Miguel Ángel 92f3116dee fix(cli): re-download the browser when the cached archive is corrupt
A partially-downloaded or interrupted chrome-headless-shell archive left in the
cache makes @puppeteer/browsers' install() throw "invalid
end-of-central-directory" during extraction. That error propagated out of the
browser check and hard-blocked the render, forcing users onto the fallback
renderer until they manually cleared the cache — a recurring Windows failure.

Detect the corrupt-archive extraction error (isCorruptArchiveError), clear the
cache to drop the bad archive, and retry the download exactly once; non-corrupt
errors and a second corruption still propagate (no infinite retry). The pure
predicate and the recovery wrapper are unit-tested.
2026-07-07 17:10:06 -04:00
..
2026-07-07 20:30:24 +00:00
2026-07-07 20:30:24 +00:00
2026-07-07 20:30:24 +00:00
2026-07-07 20:30:24 +00:00
2026-07-07 20:30:24 +00:00
2026-07-07 20:30:24 +00:00
2026-07-07 20:30:24 +00:00
2026-07-07 20:30:24 +00:00
2026-07-07 20:30:24 +00:00
2026-06-16 13:16:09 -04:00
2026-07-07 20:30:24 +00:00
2026-07-07 20:30:24 +00:00
2026-07-07 20:30:24 +00:00