Firebase chat 만들어보기 #1
1.환경설정
1)nvm
firebase CLI 설치에 필요한 nvm 사전설치
자꾸만 에러 발생
- nvm 윈도우 설치 중 C:\Users\������\AppData\Roaming\nvm, The system cannot find the path specified. 문제
- nvm root "C:\Users\오마로\AppData\Roaming\nvm" 설정
- nvm install latest 로 최신 nvm 설치 완료
npm v10.2.4 installed successfully.
- npm install -g yarn 로 yarn 설치 완료
C:\Users\오마로>node -v
v14.16.0
C:\Users\오마로>npm -v
6.14.11
C:\Users\오마로>yarn -v
1.22.21
C:\Users\오마로>npm install -g firebase-tools
C:\Users\오마로>firebase --version
Firebase CLI v13.1.0 is incompatible with Node.js v14.16.0 Please upgrade Node.js to version >=18.0.0 || >=20.0.0
2)node.js upgrade
https://nodejs.org/en/download/current
C:\Users\오마로>firebase --version
13.1.0
2.Firebase 생성
https://firebase.google.com/codelabs/firebase-android?hl=ko#1
3.buildgradle implementation firebaseauth
https://mvnrepository.com/artifact/com.google.firebase/firebase-auth