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

Can't resolve 'stream' and 'zlib' (fix using react-rewired?)

Open Sebastian-Nielsen opened this issue 3 years ago • 1 comments

I am gettin gthe error Can't resolve 'stream' and 'zlib'

I know you can fix it using craco as shown here

But craco is soon to be discountinued, so I would rather use react-rewired. So, my question is, how do I fix this resolve issue using react-rewired?

Sebastian-Nielsen avatar Jul 19 '22 21:07 Sebastian-Nielsen

This should be fixed with #1891, once react-pdf is released in a new version.

carlobeltrame avatar Aug 08 '22 12: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