Closed dmost714 closed 2 years ago
@dmost714 I'm unable to reproduce this error using the configurations you provided. From your screenshot the error message is coming from a backend.bundle.js
file which I don't have. Do you know what code is running in that file?
Discussed further with Dave on discord and it ended up being a Chrome extension which was causing the error. Closing out as it's not an issue with the Amplify UI library.
I was able to narrow it down to the "ReactTime" Chrome extension: https://chrome.google.com/webstore/detail/reactime/cgibknllccemdnfhfpmjhffpjfeidjga/related
Thanks for pointing me in the right direction.
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Authenticator
How is your app built?
vite
Please describe your bug.
When developing (
yarn dev
) in Google Chrome Version 102.0.5005.115 on macOS Monterey v12.4, I get anUncaught RangeError: Maximum call stack size exceeded
. I'm not seeing this error in Safari or Firefox. I have not pushed into production, so cannot confirm if the issue is there or just during local development (possibly due to HMR).Attemping to eliminate the issue, I slimmed the app down to this: main.txs
The issue goes away if I remove
<Authenticator.Provider>
, and is present if I ONLY use< Authenticator.Provider>
and the hello world div.What's the expected behaviour?
No stack overflow.
Help us reproduce the bug!
I'm running node 18.3.0 yarn 1.22.19 amplify 9.0.0 I deleted node_modules & yarn.lock and re-installed everything, so the package versions are the latest as of June 23rd.
Here's my vite.config.ts
Here's my tsconfig.json
Here's index.html
Most simple main.tsx that generates the error:
Here's my package.json
Code Snippet
Additional information and screenshots
No response