Webpack 5 support
See original GitHub issueDescribe the bug I just install @react-pdf/renderer, zlib was missing, I installed it too. Now the file /zlib_bindings is missing.
Logs
$ /Users/_/_/node_modules/.bin/encore dev --watch
Running webpack ...
ERROR Failed to compile with 1 errors 19:33:28
Module build failed: Module not found:
../node_modules/zlib/lib/zlib.js contains a reference to the file ./zlib_bindings.
This file can not be found, please check it for typos or update it if the file got moved.
Desktop:
- OS: MacOS Big Sur 11.0.1
- Browser Safari 14.0.1
- React-pdf version (“@react-pdf/renderer”: “^2.0.2”)
Can someone help me to get this file ? Thank you !
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Webpack 5 release (2020-10-10)
Webpack 5 adds support for some CommonJs constructs, allows to eliminate unused CommonJs exports and track referenced export names from require ...
Read more >facebook/create-react-app - Webpack 5 support overview
Overview of tasks needed for updating CRA to Webpack 5 - Some of the work will support both Webpack 4 + 5 but...
Read more >What's New in Webpack 5 - Frontend Digest
webpack 5 also brings a new experiments configuration option with support for WebAssembly, Async Web Assembly, Top Level Await, and outputting your bundle ......
Read more >Webpack 5 Adoption - Next.js
Improved Long Term Caching of Assets: Deterministic code output that is less likely to change between builds; Improved Tree Shaking; Support for assets...
Read more >Upgrading Webpack 4 → 5 | Square Corner Blog
Webpack 5 Gains · Decreased bundle size by 27-28% · Decreased build time by 10% (2m 54s → 2m 36s) · Cached dev...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You don’t need to install
zlib
. Try uninstalling it. Can you check your package-lock.json or yarn.locl file and share who’s importingzlib
?Hi. Was this issue solved?