Quantcast
Viewing latest article 26
Browse Latest Browse All 1078

Firebaseのdataconnect エラー

> firebase init dataconnectの後の結果のメモ

     ######## #### ########  ######## ########     ###     ######  ########
     ##        ##  ##     ## ##       ##     ##  ##   ##  ##       ##
     ######    ##  ########  ######   ########  #########  ######  ######
     ##        ##  ##    ##  ##       ##     ## ##     ##       ## ##
     ##       #### ##     ## ######## ########  ##     ##  ######  ########

You're about to initialize a Firebase project in this directory:

  /Users/shinriyo/development/flutter_apps/my_flutter_app

Before we get started, keep in mind:

  * You are initializing within an existing Firebase project directory


=== Project Setup

First, let's associate this project directory with a Firebase project.
You can create multiple project aliases by running firebase use --add, 
but for now we'll just set up a default project.

? Please select an option: Use an existing project
? Select a default Firebase project for this directory: test-vue-53ef3 (test-vue)
i  Using project test-vue-53ef3 (test-vue)

=== Dataconnect Setup
i  dataconnect: ensuring required API firebasedataconnect.googleapis.com is enabled...

⚠  dataconnect: missing required API firebasedataconnect.googleapis.com. Enabling now...
✔  dataconnect: required API firebasedataconnect.googleapis.com is enabled
i  dataconnect: ensuring required API sqladmin.googleapis.com is enabled...
⚠  dataconnect: missing required API sqladmin.googleapis.com. Enabling now...
✔  dataconnect: required API sqladmin.googleapis.com is enabled
i  dataconnect: ensuring required API compute.googleapis.com is enabled...
⚠  dataconnect: missing required API compute.googleapis.com. Enabling now...
i  dataconnect: waiting for API compute.googleapis.com to activate...
i  dataconnect: waiting for API compute.googleapis.com to activate...
i  dataconnect: waiting for API compute.googleapis.com to activate...
i  dataconnect: waiting for API compute.googleapis.com to activate...
i  dataconnect: waiting for API compute.googleapis.com to activate...
i  dataconnect: waiting for API compute.googleapis.com to activate...
✔  dataconnect: required API compute.googleapis.com is enabled
? What ID would you like to use for this service? my-service
? What ID would you like to use for your new CloudSQL instance? fdc-sql
? What location would like to use? asia-east1
? What ID would you like to use for your new database in fdc-sql? fdcdb
? What is the connection string of the local Postgres instance you would like to use with the Data Connect emulator? postgresql://localhost:5432?sslmode=disable
✔  Wrote dataconnect/dataconnect.yaml
✔  Wrote dataconnect/schema/schema.gql
✔  Wrote dataconnect/default-connector/connector.yaml
✔  Wrote dataconnect/default-connector/queries.gql
✔  Wrote dataconnect/default-connector/mutations.gql
? Would you like to provision your CloudSQL instance and database now? This will take a few minutes. Yes
i  dataconnect: CloudSQL instance 'fdc-sql' not found, creating it.
This instance is provided under the terms of the Data Connect free trial https://firebase.google.com/pricing
Monitor the progress at https://console.cloud.google.com/sql/instances/fdc-sql/overview?project=test-vue-53ef3
✔ Creating your instance...
i  dataconnect: Instance creation process started
⚠  dataconnect: Database fdcdb is not accessible.

✔  If you'd like to generate an SDK for your new connector, run firebase init dataconnect:sdk

i  Writing configuration info to firebase.json...
i  Writing project information to .firebaserc...

✔  Firebase initialization complete!

Cloud SQLインスタンスは初回作成時に3〜10分程度かかることがあります。

GCPコンソールで Cloud SQLの状態が RUNNABLE になるまで待ってください。


Viewing latest article 26
Browse Latest Browse All 1078

Trending Articles