undefined is not a function (near ...window.addEventListener...)
Worked well.
npm install --save aws-amplify // This line installed "^0.1.36" in my case.
npm install --save aws-amplify-react
npm install --save aws-amplify-react-native
import Amplify, { Auth } from "aws-amplify";
import aws_exports from "../aws-exports";
import authConfigure from "../authConfigure";
Amplify.configure(aws_exports);
Auth.configure(authConfigure);
Auth.federatedSignin()
npm install --save aws-amplify@latest
npm install --save aws-amplify@(version that rightly work)
@7772 I am going to close this issue as this is out of date. If you still have this issue in the latest version of amplify please reopen it.
I have pretty much the same problem. Debugged remotely it works well, without remote debugging, "undefined is not a function(evaluation 'Uint32Array.from')" is displayed. aws-amplify aws-amplify-react and aws-amplify-react-native are all up to date. I'm sure it's from amplify since there's AmazonAIConvertPredictionsProvider.js mentionned in the error
May be unrelated to this problem, looks like the new @aws-amplify/predictions dependency is creating similar problems. Just install aws modules one by one to only get the one you'll use.
I'm running into Uint32Array.from not being defined on IE11 when using a AppSync api. I've traced it to this line: https://github.com/aws/aws-sdk-js-crypto-helpers/blob/master/packages/sha256-js/src/RawSha256.ts#L13
I'm investigating wheter I can polyfill it or configure amplify-js differently to not use this code.
Most helpful comment
May be unrelated to this problem, looks like the new @aws-amplify/predictions dependency is creating similar problems. Just install aws modules one by one to only get the one you'll use.