Warning: ./node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.js Module not found: Error: Can't resolve 'crypto' in #7542
Labels
to-be-reproduced
Used in order for Amplify to reproduce said issue
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Here's my package.json
Expected behavior
Not to get this error. ;-)
Code Snippet
src/main.ts
angular.json
/projects/app/architect/build/options/allowedCommonJsDependencies
Screenshots
If applicable, add screenshots to help explain your problem.
What is Configured?
I've also tried using angular 10, same error.
I really don't care if I'm on the newest version of anything. Are there some pinned versions I can just use to get started? Or a docker container with pinned versions that works?
Additional context
Add any other context about the problem here.
You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app.
The text was updated successfully, but these errors were encountered: