`ng deploy` infinite setup loop
- Ngôn ngữ chính
- TypeScript
- Star
- 7.8k
- Fork
- 2.2k
- Merge trung bình
- 22 giờ 28 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
### 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 the schematics, so stackblitz doesn't help.
**Steps to set up and reproduce**
Follow the steps in [these docs](https://github.com/angular/angularfire/blob/master/docs/install-and-setup.md). I.e.:
1. `ng new the-project`, choose default options
2. `cd the-project`
3. `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.)
- At this point the doc says it should have created a `.firebaserc` file updated `angular.json`, but neither of these are true
4. `ng deploy`
- Here it asks me what to use to deploy. I choose "Firebase" and it simply loops me through the setup steps again, never deploying.
**Sample data and security rules**
### Debug output
** Errors in the JavaScript console **
None
** Output from `firebase.database().enableLogging(true);` **
I'm not running the app, so I don't think this applies.
** Screenshots **
None
### Expected behavior
I can use schematics to set up firebase hosting.
### Actual behavior
Schematics do not set up firebase hosting. Instead every time I try to deploy it loops me back through the setup process.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách đọc docs/install-and-setup.md và tái hiện chuỗi thao tác với `ng add @angular/fire`, tiếp theo là `ng deploy`. So sánh thiết lập dự kiến trong `.firebaserc` và `angular.json` với kết quả được báo cáo; được xem là hoàn tất khi Firebase hosting đã được cấu hình và `ng deploy` tiếp tục mà không lặp lại việc thiết lập.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- angular, firebase, typescript
- Lĩnh vực
- cloud, tooling
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 46/100