• 로그인
  • 장바구니에 상품이 없습니다.

home2 게시판 Flutter 게시판 flutterfire configure 문제

flutterfire configure 문제

6 글 보임 - 1 에서 6 까지 (총 6 중에서)
  • 글쓴이
  • #27297

    Chris
    참가자

    강의 내용 대로 firebase에 프로젝트 생성. 파이어베이스패키지 다 설치 하고  flutterfire configure 실행하면 아래와 같은 에러가 나오며 실행이 되지 않습니다.

     

    > flutterfire configure
    i Found 0 Firebase projects.
    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.

     

    프로젝트 3개 생성되어있는대 나타나지 않습니다. 

    flutterfire cli 설치 되었고 공홈에서 firebase-tools-instant-win.exe 도 설치후 실행했습니다만 계속 동일한 문제가 발생해서 진행이 되지 않습니다.  stack overflow에서 검색해보고 동일 증상 해결 방법 적용도 해봤는대 해결이 안되네요. 오늘 하루종일 이 문제 해결이 안되어서 답답해 죽겠습니다. 도움 부탁 드립니다.

     

    #27319

    codingapple
    키 마스터

    firebase-tools-instant-win.exe 를 firebase.exe로 이름바꾸고 작업폴더에 넣고

    에디터에서 터미널 열어서 firebase login 쳐봅시다 

    #27330

    Chris
    참가자

    저도 stack overflow에서 확인 하여 말씀하신 방법 이미 사용해 보았는대 로그인 후 flutterfire configure 실행하면   fetching 중에 아래와 같이 에러 나왔습니다.

    D:\coding_study\Flutter_Study\coding_apple_insta_0209>flutterfire configure
    ⠋ Fetching available Firebase projects...
    Unhandled exception:
    FormatException: Unexpected character (at character 1)
    #
    ^

    #0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1405:
    5)
    #1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dar
    t:1272:9)
    #2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:937:
    22)
    #3 _parseJson (dart:convert-patch/convert_patch.dart:40:10)
    #4 JsonDecoder.convert (dart:convert/json.dart:612:36)
    #5 runFirebaseCommand (package:flutterfire_cli/src/firebase.dart:95:25)
    <asynchronous suspension>
    #6 getProjects (package:flutterfire_cli/src/firebase.dart:114:7)
    <asynchronous suspension>
    #7 ConfigCommand._selectFirebaseProject (package:flutterfire_cli/src/co
    mmands/config.dart:159:24)
    <asynchronous suspension>
    #8 ConfigCommand.run (package:flutterfire_cli/src/commands/config.dart:
    227:37)
    <asynchronous suspension>
    #9 CommandRunner.runCommand (package:args/command_runner.dart:209:13)
    <asynchronous suspension>
    #10 main (file:///C:/Users/WORK/AppData/Local/Pub/Cache/hosted/pub.dartl
    ang.org/flutterfire_cli-0.1.1+2/bin/flutterfire.dart:34:5)
    <asynchronous suspension>
     

    #27349

    codingapple
    키 마스터

    https://github.com/invertase/flutterfire_cli/issues/37

    pubspec 파일에 오타가 있거나 version 항목이 이상하면 그런 이슈가 있나봅니다 이것저것 바꿔봅시다

    #27363

    Chris
    참가자

    답변 감사합니다. 알려 주신 방법 포함해서 여러가지 확인해보고 변경 했지만 여전히 해결 되지 않아 manual 방식으로 일단 진행 하고 있습니다. 바쁘신대 답변 주셔서 감사합니다.

    #27502

    codingapple
    키 마스터

    아니면 새로운프로젝트 만들어서 설치해보거나 그러면 됩니다 

6 글 보임 - 1 에서 6 까지 (총 6 중에서)
  • 답변은 로그인 후 가능합니다.

About

현재 월 700명 신규수강중입니다.

  (09:00~20:00) 빠른 상담은 카톡 플러스친구 코딩애플 (링크)
  admin@codingapple.com
  이용약관
ⓒ Codingapple, 강의 예제, 영상 복제 금지
top

© Codingapple, All rights reserved. 슈퍼로켓 에듀케이션 / 서울특별시 강동구 고덕로 19길 30 / 사업자등록번호 : 212-26-14752 온라인 교육학원업 / 통신판매업신고번호 : 제 2017-서울강동-0002 호 / 개인정보관리자 : 박종흠