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

Webpack update V4 -> V5 #1243

Closed
Mario8419 opened this issue Apr 21, 2021 · 3 comments
Closed

Webpack update V4 -> V5 #1243

Mario8419 opened this issue Apr 21, 2021 · 3 comments
Labels

Comments

@Mario8419
Copy link

I run into a bunch of errors after updating webpack v4 to v5

Can't resolve 'zlib' .....node_modules/@react-pdf/pdfkit/lib'
Can't resolve 'stream' .....node_modules/blob-stream

ERROR in ./node_modules/@react-pdf/pdfkit/lib/pdfkit.browser.es.js
ERROR in ./node_modules/@react-pdf/pdfkit/lib/pdfkit.browser.es.js
ERROR in ./node_modules/@react-pdf/png-js/dist/png-js.browser.es.js
ERROR in ./node_modules/blob-stream/index.js
ERROR in ./node_modules/restructure/src/EncodeStream.js

  • OS: MacOS
  • Browser: chrome, safari]
  • React-pdf version: 2.0.5

"@react-pdf/renderer": "^2.0.5",
"gatsby": "^3.3.1",
"react": "^17.0.2",

@diegomura
Copy link
Owner

diegomura commented Apr 21, 2021

Check #1029 (comment)
Related to #1197

@diegomura diegomura added the bug label Apr 21, 2021
@Mario8419
Copy link
Author

unfortunately, this solution is not working for me...

@diegomura
Copy link
Owner

diegomura commented Apr 25, 2021

Keeping #1029 for Webpack 5 support

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

No branches or pull requests

2 participants