Context
Running bunx pdfx-cli init and choosing to install @react-pdf/renderer when prompted fails. This is almost certainly upstream (see diegomura/react-pdf#3382 — @react-pdf/svg missing / 404 on npm), not a bug in pdfx-cli itself. I'm opening this here so you're aware for docs, CLI messaging, or any workaround you might want to suggest.
Steps
- In a project using Bun:
bunx pdfx-cli init
- When prompted, accept installing
@react-pdf/renderer
Actual output
Failed to install @react-pdf/renderer
Installation failed: Command failed with exit code 1: bun add '@react-pdf/renderer'
error: GET https://registry.npmjs.org/@react-pdf%2fsvg - 404
error: @react-pdf/svg@^1.1.0 failed to resolve
Expected
Either install succeeds, or the CLI documents a known upstream constraint (e.g. use npm/pnpm until @react-pdf/renderer resolves, or pin a working version).
Environment
- pdfx-cli (via
bunx pdfx-cli init)
- Bun v1.3.10
- Package root: consumer app (e.g. Vite/React monorepo)
Thanks for pdfx — hope this helps other users who hit the same path.
Context
Running
bunx pdfx-cli initand choosing to install@react-pdf/rendererwhen prompted fails. This is almost certainly upstream (see diegomura/react-pdf#3382 —@react-pdf/svgmissing / 404 on npm), not a bug in pdfx-cli itself. I'm opening this here so you're aware for docs, CLI messaging, or any workaround you might want to suggest.Steps
bunx pdfx-cli init@react-pdf/rendererActual output
Expected
Either install succeeds, or the CLI documents a known upstream constraint (e.g. use npm/pnpm until @react-pdf/renderer resolves, or pin a working version).
Environment
bunx pdfx-cli init)Thanks for pdfx — hope this helps other users who hit the same path.