diegomura / react-pdf

📄 Create PDF files using React
https://react-pdf.org
MIT License
14.63k stars 1.16k forks source link

util.inherits is not a function #1966

Open Legal-Dan opened 2 years ago

Legal-Dan commented 2 years ago

Describe the bug On running 'npm install @react-pdf/renderer --save' the library attempts to install a dependency of blob-stream. This then throws the above error in the browser on running the app. In the gitHub repository this package has been removed, however in the node module the dependency is still present.

carlobeltrame commented 2 years ago

This should be fixed in #1891, we are just waiting for a release of react-pdf.

carlobeltrame commented 1 year ago

This should now be fixed in @react-pdf/renderer v3.0.0. Can we close this issue?