react-pdf icon indicating copy to clipboard operation
react-pdf copied to clipboard

Failed to resolve entry for package "jay-peg"

Open Lure99 opened this issue 2 years ago • 1 comments

Describe the bug After updating react-pdf/renderer to the most recent version (3.3.5), the application fails to compile due to an error related to the resolution of the jay-peg package.

X [ERROR] Failed to resolve entry for package "jay-peg". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-pre-bundle]
    node_modules/esbuild/lib/main.js:1374:21:
      1374 │         let result = await callback({

To Reproduce The error occurs during the build process.

I'm using [email protected] and [email protected]

Expected behavior Build with no errors

Desktop:

  • OS: Windows 11
  • Browser: Firefox
  • React-pdf version 3.3.5

Lure99 avatar Feb 03 '24 20:02 Lure99

Oops. Small regression. Please bump to [email protected]. Issue solved there.

diegomura avatar Feb 03 '24 21:02 diegomura