Dependencies errors ?
See original GitHub issueHi everyone,
I’m actually starting a web3 project and I wanted to use this repository to use WalletConnect to authenticate users using WalletConnect
When I install this dependency using npm i @walletconnect/web3-provider
i got a lot of errors that didn’t occurs when I uninstall it.
The following errors are :
ERROR in ./node_modules/cipher-base/index.js 3:16-43
Module not found: Error: Can't resolve 'stream' in 'C:\Lab\Js\babyloans-front\node_modules\cipher-base'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
ERROR in ./node_modules/ethereumjs-abi/node_modules/ethereumjs-util/dist/object.js 8:13-30
Module not found: Error: Can't resolve 'assert' in 'C:\Lab\Js\babyloans-front\node_modules\ethereumjs-abi\node_modules\ethereumjs-util\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
ERROR in ./node_modules/ethereumjs-util/dist/index.js 17:13-30
Module not found: Error: Can't resolve 'assert' in 'C:\Lab\Js\babyloans-front\node_modules\ethereumjs-util\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
ERROR in ./node_modules/safe-event-emitter/index.js 1:13-28
Module not found: Error: Can't resolve 'util' in 'C:\Lab\Js\babyloans-front\node_modules\safe-event-emitter'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
ERROR in ./node_modules/web3-provider-engine/index.js 3:17-41
Module not found: Error: Can't resolve 'util' in 'C:\Lab\Js\babyloans-front\node_modules\web3-provider-engine'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
ERROR in ./node_modules/web3-provider-engine/subproviders/fixture.js 1:17-41
Module not found: Error: Can't resolve 'util' in 'C:\Lab\Js\babyloans-front\node_modules\web3-provider-engine\subproviders'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
ERROR in ./node_modules/xhr2-cookies/dist/xml-http-request.js 37:11-26
Module not found: Error: Can't resolve 'http' in 'C:\Lab\Js\babyloans-front\node_modules\xhr2-cookies\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
ERROR in ./node_modules/xhr2-cookies/dist/xml-http-request.js 43:10-24
Module not found: Error: Can't resolve 'url' in 'C:\Lab\Js\babyloans-front\node_modules\xhr2-cookies\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
Do you have any idea where it could come from ?
Have a good day and thanks for your work.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
How to Prevent and Fix Package Dependency Errors in Ubuntu
Package dependency errors can occur in Ubuntu after installing some apps. Decisions made by users during installation or system level problems out of ......
Read more >How to correct Ubuntu dependency errors - AddictiveTips
Dependency errors on Ubuntu happen when users install a third-party DEB package they've downloaded from the internet through the ...
Read more >NPM Dependency errors? Then You're doing it wrong. - Medium
The Problem with non-deterministic dependencies Puzzled, you looked at your code, and it's working correctly. They have the same dependencies and same code, ......
Read more >Xcode dependencies errors | Apple Developer Forums
Now I am getting these two errors when I try and Build the app. Check dependencies. Unable to run command 'CpResource RLA\ Volunteer.app'...
Read more >How to Install and Correct Dependencies Issues in Ubuntu
When these dependency errors occur, we have multiple options we can try to address the issue. Enable all repositories; Update the software ...
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
@mirceanis for me the fix was to update the
package.json
file as described here: https://github.com/WalletConnect/walletconnect-monorepo/issues/623#issuecomment-940515285 . No ejection needed.Hi @mirceanis
It was a error from https://github.com/MoralisWeb3/react-moralis repository.
In the readme, there is a little tutorial to solve this issue, I post you the link: https://github.com/MoralisWeb3/react-moralis#configuring-webpack-v5
Have a good day