DeprecationWarning: The 'punycode' module is deprecated when running ng add @angular/fire
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- angular, firebase, node.js, typescript
Hướng nghiên cứu
Tái hiện cảnh báo trong một ứng dụng Angular 19 mới bằng cách chạy ng add @angular/fire và chọn Authentication, Firestore cùng Realtime Database. Kiểm tra quá trình cài đặt dependency và đầu ra cấu hình của schematic để xác định nguồn gốc của cảnh báo punycode; hoàn tất khi quá trình thiết lập kết thúc mà không có cảnh báo deprecation đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
DeprecationWarning: The 'punycode' module is deprecated when running ng add @angular/fire
Description:
When adding @angular/fire to a new Angular 19 application using the ng add @angular/fire schematic, a DeprecationWarning related to Node.js's punycode module is displayed.
Versions:
- Angular CLI: (Please specify, e.g.,
19.x.x) - Angular Core: (Please specify, e.g.,
19.x.x) - @angular/fire: (Please specify the version installed by
ng add, checkpackage.json) - Node.js: (Please specify, e.g.,
v18.x.x,v20.x.x) - firebase-tools:
14.2.2(as per the log)
Steps to Reproduce:
- Create a new Angular 19 application:
ng new my-angular-app cd my-angular-app - Run the
ng add @angular/fireschematic:ng add @angular/fire - During the installation and setup process, select the following Firebase features when prompted:
- Authentication
- Firestore
- Realtime Database
Expected Behavior:
The ng add @angular/fire schematic should complete without displaying deprecation warnings related to Node.js modules.
Current Behavior:
During the execution of the schematic, after selecting Firebase features and while dependencies are being installed or files are being configured, the following warning appears in the console:
- Ngôn ngữ chính
- TypeScript
- Star
- 7.8k
- Fork
- 2.2k
- Merge trung bình
- 3 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 5
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của angular/angularfire
-
comp: build/pipeline type: bug version: current (v17+)
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
angular/angularfire#3766 ·
-
comp: schematics type: bug version: current (v17+)
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
angular/angularfire#3768 ·
-
comp: docs type: chore version: current (v17+)
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
angular/angularfire#3764 ·
-
comp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 1 người được giao ·
-
Six `firebase` entry points have no `@angular/fire` equivalent, so their exports are unreachable Đang mởcomp: core type: feature
angular/angularfire#3755 · 1 người được giao ·
Tất cả issue của angular/angularfire
Issue tương tự
-
[Bug]: Discord Activity titles with emoji are rejected as over 80 characters when they are not Đang mởclawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
ZCode 3.14.3 に対応する Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
supermomonga/zcode-acp#24 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
growthbook/growthbook#7100 ·
-
triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100