Shehzab Ahammad
Shehzab Ahammad

Reputation: 125

Aws Cognito with @aws-amplify/ui-react

I had tried to implement aws Cognito with react app. Everything was done according to documentation. Now when I tried to run, am getting the below error

*./node_modules/@aws-amplify/analytics/lib-esm/Providers/AWSKinesisFirehoseProvider.js

Module not found: Can't resolve '@aws-sdk/client-firehose' in 'C:\Users\Shehzab\test\ui\react-app\node_modules@aws-amplify\analytics\lib-esm\Providers'*

Upvotes: 0

Views: 406

Answers (1)

Alex
Alex

Reputation: 842

From the root of your project, try ...

rm -fr node_modules package-lock.json && npm install

Upvotes: 1

Related Questions