If it’s version 20 I think there’s a bug in it where it injects flawed code into JavaScript (hence your error).
Give me a second and I’ll find the link.
https://github.com/aws-amplify/amplify-js/issues/3985#issuecomment-530197989
Now, I’m not saying that you should change that option. That’s your judgement call, but it does explain why it occurs for you in different browsers and not the rest of us.
Last edited October 23, 2019 7:27 pm