728x90
firebase가 버전 9로 업그레이드 되면서 임포트하는 방법이 달라졌다.
v9에서는 firebase와 app 또는 auth 폴더 경로 사이에 compat 폴더를 추가 해주면 되고,
또는 v8로 다운그레이드 하는 방법이 있다고 한다.
How do I fix a Firebase 9.0 import error? "Attempted import error: 'firebase/app' does not contain a default export (imported as
I am trying to implement firebase in my React application but it seems my version of importing is outdated. Here is my code: import firebase from "firebase/app"; import "firebase/aut...
stackoverflow.com
728x90
'🧠 지식창고 > 에러' 카테고리의 다른 글
[Error] git push origin master 시 failed to push some refs to 오류 (0) | 2021.12.13 |
---|---|
[Error] the slice reducer for key "feed" returned undefined. 에러 (0) | 2021.12.09 |
[Error] doc 사용 시 n.indexOf is not a function 에러 (0) | 2021.12.01 |
[Error] react-script 에러 (0) | 2021.11.25 |
[Error] EC2 IP로 Pymongo 접속 시 Connet 오류 (0) | 2021.11.03 |
댓글