I am getting the following list of errors when I run ng serve.
My package JSON is as follows:
{ \"name\": \"ProName\", \"version\":
aws-sign2 is a NodeJS package (and crypto is a NodeJS module), but it looks like you're dealing with a web application. It makes sense that the crypto module is not available in that environment.
Would it be possible to complete what you need to do server-side? Otherwise, you may need to look for another package.