I am not on the 6th try with this. 2 i finally fixed with chat gpt but im at my wits end trying. I keep getting this message after I connect firebase. When I ask google ai studios the issue, i get this response
version mismatch and module duplication in your importmap.
-
Duplicate Instances: Your importmap defines explicit versions for firebase/app and firebase/auth (v11.1.0), but then includes a wildcard/prefix mapping (“firebase/”: “https //esm .sh/firebase@^12.8.0/”) pointing to a different version (v12.8.0).
-
Internal Desync: Firebase’s internal registration system requires all sub-modules (Auth, Firestore) to be attached to the same instance of the Firebase “App.”
-
The Result: Because of the conflicting mappings, the browser downloads two separate copies of the Firebase core. One version initializes the “App,” while the other (different version) tries to access “Auth.” Since the “Auth” module doesn’t see an initialized “App” within its own isolated code instance, it throws the registration error.”
What am I missing here? Am I adding the sdk wrong?