-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
web3 giving issues in Webpack 5 #4090
Comments
This helped me fix the problem I have installed the following packages
In the webpack config I added:
After that, everything worked for me on webpack 5 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment. |
Thanks @NorthHub |
I am getting the same error with react |
This error occur when importing web3 |
I am getting the same error, Where is that web pack config file?
|
Guys I fixed it by downgrading the react scripts
and then
|
i could resolve a problem by applying it. |
for other people I would advise using a different react version, install version 16, which works perfectly with web3, it is a little annoying but you won't have debugging issues. React uses webpack 5 and that version is not compatible with the current version of web3, this could bring issues later on even if the scripts are in version 4 |
Downgrading react-script fixed my problem as well. Thank you very much. |
Sorry Im using version 18 and still getting this error |
I am getting the following error when running my Angular code.
The text was updated successfully, but these errors were encountered: