Skip to content

🐛 [FLUTTERFIRE] missing files firebase.json and .firebaserc when using firebase emulators #9172

@graemep-nz

Description

@graemep-nz

When following the docs to initialise a firebase project using "flutterfire configure", if you try to run the firebase emulators using the command

firebase emulators:start

it complains that firebase.json and .firebaserc files are missing from the project root folder.

I copied these two files from another project and modified the rc file

firebase.json has as below - it allowed the emulators to run - it did report that firestore.rules file was missing though.

{
  "firestore": {
    "rules": "firestore.rules",
    "indexes": "firestore.indexes.json"
  },
  "emulators": {
    "auth": {
      "port": 9099
    },
    "firestore": {
      "port": 8080
    },
    "ui": {
      "enabled": true
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs AttentionThis issue needs maintainer attention.type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions