Title: `ng add` never writes `.firebaserc` or Firestore starter files — deploys have no default project and no rules · Issue #3713 · angular/angularfire · GitHub
Open Graph Title: `ng add` never writes `.firebaserc` or Firestore starter files — deploys have no default project and no rules · Issue #3713 · angular/angularfire
X Title: `ng add` never writes `.firebaserc` or Firestore starter files — deploys have no default project and no rules · Issue #3713 · angular/angularfire
Description: Version info Angular: 21.2.x Firebase: 12.x AngularFire: 21.0.0-rc.0 How to reproduce these conditions ng new my-app && cd my-app ng add @angular/fire@next, sign in, select a project and Firestore. After the schematic finishes: .firebase...
Open Graph Description: Version info Angular: 21.2.x Firebase: 12.x AngularFire: 21.0.0-rc.0 How to reproduce these conditions ng new my-app && cd my-app ng add @angular/fire@next, sign in, select a project and Firestore....
X Description: Version info Angular: 21.2.x Firebase: 12.x AngularFire: 21.0.0-rc.0 How to reproduce these conditions ng new my-app && cd my-app ng add @angular/fire@next, sign in, select a project and Fi...
Opengraph URL: https://github.com/angular/angularfire/issues/3713
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`ng add` never writes `.firebaserc` or Firestore starter files — deploys have no default project and no rules","articleBody":"### Version info\n\n**Angular:** 21.2.x **Firebase:** 12.x **AngularFire:** 21.0.0-rc.0\n\n### How to reproduce these conditions\n\n1. `ng new my-app \u0026\u0026 cd my-app`\n2. `ng add @angular/fire@next`, sign in, select a project and Firestore.\n3. After the schematic finishes: `.firebaserc` does not exist (the project selected during setup is recorded nowhere), `firebase.json` is `{}` (see #3559), and no `firestore.rules` exists.\n\n### Expected behavior\n\nThe setup should leave the workspace deployable: record the selected project as the CLI default, and — when Firestore is selected — generate starter security rules plus the `firebase.json` firestore section, the way `firebase init firestore` does.\n\n### Actual behavior\n\nEvery later firebase-tools command prompts for (or fails without) a project, and `firebase deploy --only firestore:rules` has nothing to deploy. Related downstream reports: #3559 (empty firebase.json, closed unfixed), #3546/#3676 (`ng deploy` setup loop — the angular.json deploy-target half, out of scope here).\n","author":{"url":"https://github.com/armando-navarro","@type":"Person","name":"armando-navarro"},"datePublished":"2026-07-15T18:58:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3713/angularfire/issues/3713"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f61995b7-aef4-bcf4-141c-5aa1de1dea98 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAF4:396CF6:1545F5A:1C1B685:6A5C6342 |
| html-safe-nonce | 1e56ff1c7fc9872ffeea291f1a2b95d2c41af3542d064809c14187d856094ee2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUY0OjM5NkNGNjoxNTQ1RjVBOjFDMUI2ODU6NkE1QzYzNDIiLCJ2aXNpdG9yX2lkIjoiMTM3NjQ2ODQwMjYzNTAwNjEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 59b37f7a0a2c2f34b1aaba53dbdfd9380e7a78a202b095f190bbf2f54e4afe1c |
| hovercard-subject-tag | issue:4895491536 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angularfire/3713/issue_layout |
| twitter:image | https://opengraph.githubassets.com/901d96e5d4ed66c548df6e101b36be1d85b27377887dc78a3eeaea724d645f2c/angular/angularfire/issues/3713 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/901d96e5d4ed66c548df6e101b36be1d85b27377887dc78a3eeaea724d645f2c/angular/angularfire/issues/3713 |
| og:image:alt | Version info Angular: 21.2.x Firebase: 12.x AngularFire: 21.0.0-rc.0 How to reproduce these conditions ng new my-app && cd my-app ng add @angular/fire@next, sign in, select a project and Firestore.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | armando-navarro |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angularfire git https://github.com/angular/angularfire.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 49453413 |
| octolytics-dimension-repository_nwo | angular/angularfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49453413 |
| octolytics-dimension-repository_network_root_nwo | angular/angularfire |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width