Closed ViktorMachine closed 4 months ago
I was able to fix this (when using webpack) by adding
const webpack = require('webpack'); ... plugins: [ new webpack.ProvidePlugin({ Buffer: ['buffer', 'Buffer'], }), new webpack.ProvidePlugin({ process: 'process/browser' }), ....
to webpack.config.js and running npm install buffer. (Also required "process" to get up and running, so I appended that here too.)
webpack.config.js
npm install buffer
Same as #417
I was able to fix this (when using webpack) by adding
to
webpack.config.js
and runningnpm install buffer
. (Also required "process" to get up and running, so I appended that here too.)