Aug 31, 2018 · 1 min read
You need to modify webpack for node. I don’t know how to deal with it when the project is ejected, but with @angular/cli you need to go in: nodes_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/browser.js
and modify node: false; with node: { buffer: true }
