Title: `ng deploy` infinite setup loop · Issue #3546 · angular/angularfire · GitHub
Open Graph Title: `ng deploy` infinite setup loop · Issue #3546 · angular/angularfire
X Title: `ng deploy` infinite setup loop · Issue #3546 · angular/angularfire
Description: Version info Angular: 18.0.3 Firebase: ?? AngularFire: 18.0.1 Other (e.g. Ionic/Cordova, Node, browser, operating system): How to reproduce these conditions Failing test unit, Stackblitz demonstrating the problem This involves running th...
Open Graph Description: Version info Angular: 18.0.3 Firebase: ?? AngularFire: 18.0.1 Other (e.g. Ionic/Cordova, Node, browser, operating system): How to reproduce these conditions Failing test unit, Stackblitz demonstrat...
X Description: Version info Angular: 18.0.3 Firebase: ?? AngularFire: 18.0.1 Other (e.g. Ionic/Cordova, Node, browser, operating system): How to reproduce these conditions Failing test unit, Stackblitz demonstrat...
Opengraph URL: https://github.com/angular/angularfire/issues/3546
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`ng deploy` infinite setup loop","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:** 18.0.3\r\n\r\n**Firebase:** ??\r\n\r\n**AngularFire:** 18.0.1\r\n\r\n**Other (e.g. Ionic/Cordova, Node, browser, operating system):**\r\n\r\n### How to reproduce these conditions\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\nThis involves running the schematics, so stackblitz doesn't help.\r\n\r\n**Steps to set up and reproduce**\r\n\r\n\u003c!-- detailed instructions to run your minimal repro or to recreate the environment --\u003e\r\nFollow the steps in [these docs](https://github.com/angular/angularfire/blob/master/docs/install-and-setup.md). I.e.:\r\n\r\n1. `ng new the-project`, choose default options\r\n2. `cd the-project`\r\n3. `ng add @angular/fire` choose Performance Monitoring (I don't want any of them actually. I only want to deploy. But I had even worse luck if I chose nothing - so this is a semi-random choice.)\r\n - At this point the doc says it should have created a `.firebaserc` file updated `angular.json`, but neither of these are true\r\n4. `ng deploy`\r\n - Here it asks me what to use to deploy. I choose \"Firebase\" and it simply loops me through the setup steps again, never deploying. \r\n\r\n**Sample data and security rules**\r\n\r\n\u003c!-- include/attach/link to some json sample data (or provide credentials to a sanitized, test Firebase project) --\u003e\r\n\r\n### Debug output\r\n\r\n** Errors in the JavaScript console **\r\nNone\r\n\r\n** Output from `firebase.database().enableLogging(true);` **\r\nI'm not running the app, so I don't think this applies.\r\n\r\n** Screenshots **\r\nNone\r\n\r\n### Expected behavior\r\n\r\n\u003c!-- What is the expected behavior? --\u003e\r\nI can use schematics to set up firebase hosting.\r\n\r\n### Actual behavior\r\n\r\n\u003c!-- What is the actual behavior? --\u003e\r\nSchematics do not set up firebase hosting. Instead every time I try to deploy it loops me back through the setup process.\r\n","author":{"url":"https://github.com/ersimont","@type":"Person","name":"ersimont"},"datePublished":"2024-06-09T12:33:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/3546/angularfire/issues/3546"}
| 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:294d344b-47be-4b28-aa1f-6421ca3aeb22 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 95EA:1712DC:511157A:6979ECF:6A5D6FEA |
| html-safe-nonce | 44631ab94ceac45d773d7c58f1c976536939899f8363d94beaf95d3a92857620 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUVBOjE3MTJEQzo1MTExNTdBOjY5NzlFQ0Y6NkE1RDZGRUEiLCJ2aXNpdG9yX2lkIjoiNjc2NTY1NzQ3ODMwNTUwOTM1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0f2e91d733bfaf1ebcd8021feb2f0d47f0605603a4cf704d8ac42133cd52332e |
| hovercard-subject-tag | issue:2342208189 |
| 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/3546/issue_layout |
| twitter:image | https://opengraph.githubassets.com/572abcfd31ce8c272fee1c28355c430b039fcc560d5779772e781cedbde183a3/angular/angularfire/issues/3546 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/572abcfd31ce8c272fee1c28355c430b039fcc560d5779772e781cedbde183a3/angular/angularfire/issues/3546 |
| og:image:alt | Version info Angular: 18.0.3 Firebase: ?? AngularFire: 18.0.1 Other (e.g. Ionic/Cordova, Node, browser, operating system): How to reproduce these conditions Failing test unit, Stackblitz demonstrat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ersimont |
| 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