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

util.inherits is not a function

Open Legal-Dan opened this issue 3 years ago • 1 comments

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.

Legal-Dan avatar Aug 05 '22 13:08 Legal-Dan

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

carlobeltrame avatar Aug 16 '22 14:08 carlobeltrame

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

carlobeltrame avatar Oct 03 '22 10:10 carlobeltrame