Closed 3zzy closed 2 years ago
So I installed the node-polyfill-webpack-plugin and now there's a different error:
TypeError: r.isBuffer is not a function
any chance you can show non minified stack trace ?
@calvinmetcalf Sure
this comment suggests you may have to do
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
})
Webpack 5 doesn't include node polyfills anymore so I'm having issues using the library.
Error: nodebuffer is not supported by this browser
I already tried this in my Webpack config:
and even setting these to
false
but no luck.