Open mlota opened 6 years ago
@mlota thanks for your feedback. This issue was caused by some conflicts between aws-sdk and amazon-cognito-identity-js which has been solved in the latest aws-amplify. You can now update to the latest without locking the version of that amazon-cognito-identity-js.
@mlota After updating to amazon-cognito-identity-js@1.31.0 the error becomes Error: Cannot find module "aws-sdk/global"
It seems amazon identity is trying to include aws-sdk/global without success, even if it has aws-sdk as dependency in the package.json
To solve I did
npm install --save aws-sdk@2.92.0
Hi,
I had the same problems other users have mentioned in issue #8 and #10 but a few others also. I managed to eventually get it working by the following steps:
app.config.js
to the following:After that, everything seems to work ok.
Thanks