I\'m building an Angular 6 app, but every time I want to serve to localhost, I get these errors:
ERROR in ./node_modules/aws-sign2/index.js
Module not found
You are using the latest version of Angular CLI. Some npm packages are no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
To fix your issue with crypto, stream libs, go to,
node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/browser.js
file and do the following change,
`node: {crypto: true, stream: true}`