Node.js import causing Webpack build problem
See original GitHub issueWhile using @polkadot/extension-dapp
with Webpack, I encountered a problem which I have narrowed down to this line.
Are polyfills for Node.js modules required in order to import Polkadot npm packages?
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Webpack suddenly fails to compile due to "Module not found ...
It's an issue with the Webpack or Jest configuration. Absolute and relative paths can both be used, but be aware that they will...
Read more >How to transpile ES modules with webpack and Node.js
Learn how webpack interacts with and supports ES modules in this deep dive tutorial on transpilation in Node.js.
Read more >`module` gets prioritised over `main` · Issue #5756 · webpack ...
One problem is that different modules in the same build may import the same package in different ways. This is currently causing us...
Read more >How I solved and debugged my Webpack issue through trial ...
When webpack bundles your source code, it can become difficult to track down errors and warnings to their original location.
Read more >Webpack 5 Issues | Documentation - Web3Auth
This issue is caused due to the fact that the web3.js and ethers.js packages have certain dependencies, which are not present within the...
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 Free
Top 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
PRs are always welcome - the utilities/crypto (which are the major users) are located at https://github.com/polkadot-js/common
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.