2강에서 미리 보기를 하기위해 firebase serve 를 입력하면 자꾸 다음과 ㅗ같은 에러가 떠요.
error loading Firebase SDK, check the console
폴더도 정확히 열었는데도 자꾸 에러가 나네요. 혹시 sdk설치가 제대로 안된건가 해서 nodejs도 다시 깔았는데 수정이 안돼요.
제 프로젝트 세팅에 보면 선생님 강의예시와는 조금 다르게 이건게 뜨는데 이것도 입력해야 하나요? 선생님이랑 꼭같이 버전도 8 로 했는데..구글에도 안나와요.
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {