Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Sebastian-Nielsen opened this issue Jul 19, 2022 · 2 comments · Fixed by #1891
Closed

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

Sebastian-Nielsen opened this issue Jul 19, 2022 · 2 comments · Fixed by #1891

Comments

@Sebastian-Nielsen
Copy link

Sebastian-Nielsen commented Jul 19, 2022

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?

@carlobeltrame
Copy link
Contributor

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

@carlobeltrame
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants