yarn dev시 firebase 에러

불불이·2021년 10월 8일
0

개발 공부

목록 보기
11/16

노트북: m1

회사에서 개발 환경 셋팅 중 프론트 서버를 시작하기 위해 yarn dev 명령어를 입력했는데 이런 에러가 발생했다.

npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! functions@ serve: npm run build && firebase emulators:start --only functions,firestore,auth --import ./firestore-export
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the functions@ serve script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[1][1] npm ERR! A complete log of this run can be found in:
[1] npm ERR! /Users/dana/.npm/_logs/2021-09-23T06_26_58_005Z-debug.log
[1] npm run serve exited with code 1

firebase와 관련된 에러 같은데 구글링을 좀 하니 jdk를 미설치 했기 때문이다.. 나는 homebrew로 모듈을 관리하고 있어서 homebrew로 jdk를 설치하고 있었다 + 로제타2

homebrew로 jdk 설치 방법

profile
https://nibble2.tistory.com/ 둘 중에 어떤 플랫폼을 써야할지 아직도 고민중인 사람

0개의 댓글