Following this tutorial:
when I do npm install --save aws-amplify @aws-amplify/ui-angular
I get compilation error
Error: node_modules/type-fest/ts41/get.d.ts:93:37 - error TS2344: Type 'BaseType' does not satisfy the constraint 'Record<string | number, any>'
I follow the advice in https://github.com/aws-amplify/amplify-js/issues/10775 and now it compiles but shows empty screen
2
Answers
I was using node 16.15 - upgrade to 16.17 solve the problem
Add this to your package.json file
The issue is with type-fest, @aws-sdk/middleware-retry has a has transitive dependency. This has been fixed in aws/aws-sdk-js-v3#2191 – more info to the above issue here