Replies: 2 comments 8 replies
-
Hey @jackbl1 Have you looked into https://web3auth.io/docs/troubleshooting/webpack-issues#react? If not, can you try implementing the solution mentioned there?
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Please add following lines in your webpack config :
or
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've added web3auth to a React app I built, and even with the polyfills described here I am still seeing this error with process/browser
_ERROR in ./node_modules/async/dist/async.mjs 71:25-32
Module not found: Error: Can't resolve 'process/browser' in '.../node_modules/async/dist'
Did you mean 'browser.js'?
BREAKING CHANGE: The request 'process/browser' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request._
I've double checked, my config-overrides file includes the line
config.plugins = (config.plugins || []).concat([
new webpack.ProvidePlugin({
process: "process/browser",
Buffer: ["buffer", "Buffer"],
}),
]);
anyone else experiencing this issue?
Beta Was this translation helpful? Give feedback.
All reactions