今日の北陸も寒い
そしてFirebaseのセットアップで躓いてしまった! ↓の部分で
import { initializeApp } from "firebase/app";
↓のエラーが出てきてしまう。。。
Uncaught TypeError: Failed to resolve module specifier "firebase/app". Relative references must start with either "/", "./", or "../".
↓によると、「Remove type="module" from the script tag and use the global firebase object」と回答があり、
自分も同じようにtype=moduleでfirebaseを指定していたので、消したところエラーが消えました!
https://stackoverflow.com/questions/76030864/failed-to-resolve-module-specifier-firebase
めでたしめでたしー