0๐
I just added it to my webpack.config.js
to solve the issue.
fallback: {
"stream": false,
"fs": false,
"tls": false,
"net": false,
"path": false,
"zlib": false,
"http": false,
"https": false,
"stream": false,
"crypto": false,
"crypto-browserify": require.resolve('crypto-browserify'),
}
Source:stackexchange.com