4 글 보임 - 1 에서 4 까지 (총 4 중에서)
-
글쓴이글
-
2024년 12월 19일 15:11 #134225
CHUNGSIN참가자1. firebase cli 설치 후 로그인 까지 완료 했습니다.
2. 작업중인 프로젝트 디렉토리로 이동 후 다음 명령어를 실행하였습니다. > dart pub global activate flutterfire_cli 실행 결과는 아래와 같습니다. Package flutterfire_cli is currently active at version 1.0.0. Downloading packages... . The package flutterfire_cli is already activated at newest available version. To recompile executables, first run `dart pub global deactivate flutterfire_cli`. Installed executable flutterfire. Activated flutterfire_cli 1.0.0. 3. > flutterfire configure -p 프로젝트 아이디를 넣으면 다음과 같은 메시지가 발생합니다. FirebaseCommandException: An error occured on the Firebase CLI when attempting to run a command. COMMAND: firebase --version ERROR: The FlutterFire CLI currently requires the official Firebase CLI to also be installed, see https://firebase.google.com/docs/cli#install_the_firebase_cli for how to install it. 4. 이후 firebase 버전은 정상적으로 확인되어 npm install -g firebase-tools 명령을 실행했으나 다음과 같은 오류가 발생합니다.
> firebase --version 13.29.0
> npm install -g firebase-tools npm ERR! code 1 npm ERR! path C:\Users\SAMSUNG\.cache\firebase\tools\node_modules\firebase-tools\node_modules\protobufjs npm ERR! command failed npm ERR! command C:\Users\SAMSUNG\.cache\firebase\runtime/shell.bat -c -- node scripts/postinstall npm ERR! '--'��(��) ���� �Ǵ� �ܺ� ����, ������ �� �ִ� ���α�, �Ǵ� npm ERR! ��ġ ������ �ƴմϴ�.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\SAMSUNG\AppData\Local\npm-cache\_logs24-12-19T06_05_40_217Z-debug-0.log
시도해 볼 수 있는 다른 방법이 있을지 도움 부탁드립니다. ㅠㅠ
2024년 12월 19일 17:45 #134234
codingapple키 마스터에러메세지가 깨진거같은데 C:\Users\SAMSUNG\AppData\Local\npm-cache\_logs24-12-19T06_05_40_217Z-debug-0.log 들어가서 에러메세지에서 뭐라는지 한번 조회해봅시다
2024년 12월 19일 20:10 #134245
CHUNGSIN참가자로그파일 에러 내용도 깨져서 확인이 어렵습니다.. ㅠㅠ 3333 info run protobufjs@7.4.0 postinstall node_modules/firebase-tools/node_modules/protobufjs node scripts/postinstall 3334 info run protobufjs@7.4.0 postinstall { code: 1, signal: null } 3335 timing reify:rollback:createSparse Compl
eted in 3162ms 3336 timing reify:rollback:retireShallow Completed in 0ms 3337 timing command:install Completed in 23775ms 3338 verbose stack Error: command failed 3338 verbose stack at ChildProcess.<anonymous> (C:\snapshot\firepit\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:63:27) 3338 verbose stack at ChildProcess.emit (node:events:537:28) 3338 verbose stack at maybeClose (node:internal/child_process:1091:16) 3338 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:302:5) 3339 verbose pkgid protobufjs@7.4.0 3340 verbose cwd C:\Users\SAMSUNG\Documents\calendar_v1 3341 verbose Windows_NT 10.0.22631 3342 verbose node v18.5.0 3343 verbose npm v8.19.4 3344 error code 1 3345 error path C:\Users\SAMSUNG\.cache\firebase\tools\node_modules\firebase-tools\node_modules\protobufjs 3346 error command failed 3347 error command C:\Users\SAMSUNG\.cache\firebase\runtime/shell.bat -c -- node scripts/postinstall 3348 error '--' ( ) Ǵ ܺ , ִ α , Ǵ 3348 error ġ ƴմϴ . 3349 verbose exit 1 3350 timing npm Completed in 23888ms 3351 verbose unfinished npm timer reify 1734588340321 3352 verbose unfinished npm timer reify:build 1734588359797 3353 verbose unfinished npm timer build 1734588359799 3354 verbose unfinished npm timer build:deps 1734588359800 3355 verbose unfinished npm timer build:run:postinstall 1734588360674 3356 verbose unfinished npm timer build:run:postinstall:node_modules/firebase-tools/node_modules/protobufjs 1734588360674 3357 verbose code 1 3358 error A complete log of this run can be found in:
-
이 답변은
CHUNGSIN에 의해 7 월, 2 주 전에 수정됐습니다.
-
이 답변은
-
글쓴이글
4 글 보임 - 1 에서 4 까지 (총 4 중에서)
- 답변은 로그인 후 가능합니다.