Repository navigation
[Install] Direct SheetJS CDN dependency blocks pnpm install and build when the CDN is unreachable #8080
RealCharlesChia
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
The current repository depends on
xlsx@0.20.3through the direct tarball URL:https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgzWhen this CDN is unreachable, a fresh install or an update cannot complete. This also causes
pnpm run cleanandpnpm run buildto fail indirectly.Reproduction
pnpm install.pnpm run cleanorpnpm run build.Current behavior
pnpm installretries the SheetJS URL and then fails:In my environment, most packages were reused successfully, but the direct SheetJS tarball could not be downloaded. The configured npm mirror was reachable, but changing the registry did not help because this dependency is a direct URL rather than a registry package.
Expected behavior
A clean checkout should have a documented and reliable installation path when the SheetJS CDN is unavailable, especially after pulling repository updates.
Possible approaches include:
xlsx@0.20.3artifact through a supported package registry;I temporarily switched the dependency to
xlsx@0.18.5locally and the build completed, but I do not recommend silently downgrading without compatibility tests because Excel parsing behavior may differ.Environment
v24.19.011.7.0https://registry.npmmirror.com/The repository's current
package.jsonandpnpm-lock.yamlstill point to the direct SheetJS CDN tarball.All reactions