You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just met the same problem, it might be caused by an recent update of firebase.
try this one:
import firebase from 'firebase/compat/app';
import 'firebase/compat/firestore';
I think you need to build with vite first, then serve it. I ran into this problem when I deployed it to firebase hosting, you can't just ship index.html, main.js, and styles.css. You need to build first and ship that. The JS is written with vite in mind
Uncaught TypeError: Failed to resolve module specifier "firebase/app". Relative references must start with either "/", "./", or "../".
Please help me
The text was updated successfully, but these errors were encountered: