Title: Firebase.json empty after running 'ng add @angular/fire' · Issue #3559 · angular/angularfire · GitHub
Open Graph Title: Firebase.json empty after running 'ng add @angular/fire' · Issue #3559 · angular/angularfire
X Title: Firebase.json empty after running 'ng add @angular/fire' · Issue #3559 · angular/angularfire
Description: Version info Angular: 18.1.4 Firebase: 13.15.0 AngularFire: 18.0.1 Other (e.g. Ionic/Cordova, Node, browser, operating system): Node v20.11.0 macOS 14.1.1 (23B81) How to reproduce these conditions Create a new Angular project Use the abo...
Open Graph Description: Version info Angular: 18.1.4 Firebase: 13.15.0 AngularFire: 18.0.1 Other (e.g. Ionic/Cordova, Node, browser, operating system): Node v20.11.0 macOS 14.1.1 (23B81) How to reproduce these conditions ...
X Description: Version info Angular: 18.1.4 Firebase: 13.15.0 AngularFire: 18.0.1 Other (e.g. Ionic/Cordova, Node, browser, operating system): Node v20.11.0 macOS 14.1.1 (23B81) How to reproduce these conditions ...
Opengraph URL: https://github.com/angular/angularfire/issues/3559
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Firebase.json empty after running 'ng add @angular/fire'","articleBody":"\u003c!--\r\n\r\nIMPORTANT! YOU MUST FOLLOW THESE INSTRUCTIONS OR YOUR ISSUE WILL BE CLOSED.\r\n\r\nThank you for contributing to the Angular and Firebase communities!\r\n\r\nHave a usage question?\r\n=======================\r\nWe get lots of those and we love helping you, but GitHub is not the best place for them and they will be closed. Here are some resources to get help:\r\n\r\n- Go through the Developer's Guide: https://github.com/angular/angularfire2#developer-guide\r\n\r\nIf the official documentation doesn't help, try asking through our officially supported channels:\r\n\r\n- Firebase Google Group: https://groups.google.com/forum/#!forum/firebase-talk\r\n- Stack Overflow: https://stackoverflow.com/questions/tagged/angular (include the firebase and angularfire tags, too!)\r\n\r\n*Please avoid double posting across multiple channels!*\r\n\r\nThink you found a bug?\r\n=======================\r\nYeah, we're definitely not perfect! Please use the bug report template below and include a minimal repro when opening the issue.\r\n\r\nHave a feature request?\r\n========================\r\nGreat, we love hearing how we can improve our products! Remove the template below and\r\nprovide an explanation of your feature request. Provide code samples if applicable. Try to\r\nthink about what it will allow you to do that you can't do today? How will it make current\r\nworkarounds straightforward? What potential bugs and edge cases does it help to avoid?\r\n\r\n--\u003e\r\n\r\n\r\n### Version info\r\n\r\n\u003c!-- What versions of the following libraries are you using? Note that your issue may already\r\nbe fixed in the latest versions. --\u003e\r\n\r\n**Angular:**\r\n18.1.4\r\n\r\n**Firebase:**\r\n13.15.0\r\n\r\n**AngularFire:**\r\n18.0.1\r\n\r\n**Other (e.g. Ionic/Cordova, Node, browser, operating system):**\r\nNode v20.11.0\r\nmacOS 14.1.1 (23B81)\r\n\r\n### How to reproduce these conditions\r\n* Create a new Angular project\r\n* Use the above combination of dependencies and run *ng add @angular/fire*\r\n* Login and select your Firebase project\r\n* Work through the steps in the teminal, select the services to add (such as Firestore)\r\n* firebase.json is empty\r\n\u003cimg width=\"1041\" alt=\"image\" src=\"https://github.com/user-attachments/assets/b5a3f002-8a51-45de-9403-4170d47e4a09\"\u003e\r\n\r\n* app.config.json is updated as expected\r\n\u003cimg width=\"1201\" alt=\"image\" src=\"https://github.com/user-attachments/assets/09638e43-38f3-4e65-b6d8-145033536534\"\u003e\r\n\r\n\r\n\r\n\r\n**Failing test unit, Stackblitz demonstrating the problem**\r\n\r\n\u003c!-- \r\nProvide a failing test unit, or create a minimal, complete, and \r\nverifiable example (http://stackoverflow.com/help/mcve) using \r\nStackBlitz (https://stackblitz.com/edit/angular-fire-start).\r\n--\u003e\r\n\r\n**Steps to set up and reproduce**\r\n\r\n* StackBlitz is tricky to recreate as need to login to your Firebase account\r\n* If you follow the steps above, it should reproduce the issue\r\n\r\n**Sample data and security rules**\r\n\r\n* n/a, I follow the steps in the README and firebase.json is still empty\r\n\r\n### Debug output\r\n\r\n** Errors in the JavaScript console **\r\n* No errors in the JS console, everything looks like it has worked\r\n\r\n** Output from `firebase.database().enableLogging(true);` **\r\n* n/a\r\n\r\n** Screenshots **\r\n\u003cimg width=\"1041\" alt=\"image\" src=\"https://github.com/user-attachments/assets/cd4b6dca-5cab-4adf-99e1-ee1d1deccc28\"\u003e\r\n\u003cimg width=\"1201\" alt=\"image\" src=\"https://github.com/user-attachments/assets/34790963-8439-4cd3-86b1-368ba4008cdd\"\u003e\r\n\r\n\r\n\r\n### Expected behavior\r\n\r\n* The firebase.json file should be populated accordingly\r\n\r\n### Actual behavior\r\n* We get an empty firebase.json file\r\n","author":{"url":"https://github.com/johnmckay-reward","@type":"Person","name":"johnmckay-reward"},"datePublished":"2024-08-09T11:28:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/3559/angularfire/issues/3559"}
| 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:30fcfd09-dd1d-3ce0-323c-57503b4fa268 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E5C6:207390:1600C70:1CE1FAE:6A5C63D0 |
| html-safe-nonce | 6cc89ca7acd736f73e91dc63377f2f58e4a0780c6145b3a7de7999963e4f7c2c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUM2OjIwNzM5MDoxNjAwQzcwOjFDRTFGQUU6NkE1QzYzRDAiLCJ2aXNpdG9yX2lkIjoiMTQxMDk5MTgxMDQ0MTY2NzUzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 903d31d46f0ff06e6e8dab963fdc4a99fef3ddfe69e0d44b664df7b175bc8bbe |
| hovercard-subject-tag | issue:2457712550 |
| 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/3559/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ddc9f8e04c02d3fb0c3355d6398d52ba72af095c9b1c1c6de50b02e5b17e5a5c/angular/angularfire/issues/3559 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ddc9f8e04c02d3fb0c3355d6398d52ba72af095c9b1c1c6de50b02e5b17e5a5c/angular/angularfire/issues/3559 |
| og:image:alt | Version info Angular: 18.1.4 Firebase: 13.15.0 AngularFire: 18.0.1 Other (e.g. Ionic/Cordova, Node, browser, operating system): Node v20.11.0 macOS 14.1.1 (23B81) How to reproduce these conditions ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johnmckay-reward |
| 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