Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

@ngx-env/builder:application is not a recognized builder

Đang mở
#3,499 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 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, typescript
Lĩnh vực
build-system, cloud

Hướng nghiên cứu

Bắt đầu với cấu hình angular.json và tái hiện lỗi đã báo cáo bằng cách sử dụng ng deploy với các phiên bản được liệt kê trong issue. So sánh cách @ngx-env/builder:application được phân giải trong quá trình triển khai AngularFire/Firebase Hosting; hoàn tất khi dự án được báo cáo triển khai thành công mà không gặp lỗi „unrecognized-builder“.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Version info

Angular:
"@angular/core": "^17.1.0"

Firebase:
$ firebase --version
13.0.3

AngularFire:
"@angular/fire": "^17.0.1"

Other (e.g. Ionic/Cordova, Node, browser, operating system):

$ uname -a
Linux codespaces-9f3720 6.2.0-1018-azure #18~22.04.1-Ubuntu SMP Tue Nov 21 19:25:02 UTC 2023 x86_64 GNU/Linux
$ npm --version
10.2.3
$ node --version
v20.10.0
How to reproduce these conditions

Followed the guide to setup AngularFire + added @ngx-env/builder: https://github.com/erikologic/angularski/tree/just-added-ngx-env

Debug output
 $ ng deploy
Using firebase-tools version 13.0.3
Logged into Firebase as *****@gmail.com.
📦 Building "angularski"
---------------------------------
- Working directory:  /workspaces/angularski
- Files: .env
- Environment: production
- Environment files: 
 ✔ /workspaces/angularski/.env
- Environment variables: NG_APP 
 ✔ NG_APP_FIREBASE_API_KEY
---------------------------------


Initial Chunk Files   | Names         |  Raw Size | Estimated Transfer Size
main-6VJN4HE4.js      | main          | 508.08 kB |               135.24 kB
polyfills-RX4V3J3S.js | polyfills     |  33.01 kB |                10.68 kB
styles-5INURTSO.css   | styles        |   0 bytes |                 0 bytes

                      | Initial Total | 541.09 kB |               145.92 kB

Application bundle generation complete. [13.683 seconds]
▲ [WARNING] bundle initial exceeded maximum budget. Budget 500.00 kB was not met by 41.09 kB with a total of 541.09 kB.


No Firebase app associated with site angularski, injecting project default config.
  You can link a Web app to a Hosting site here https://console.firebase.google.com/project/angularski/settings/general/web
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.

   Thank you for trying our early preview of Angular support on Firebase Hosting.
   During the preview, support is best-effort and breaking changes can be expected. Proceed with caution.

   Documentation: https://firebase.google.com/docs/hosting/frameworks/angular
   File a bug: https://github.com/firebase/firebase-tools/issues/new?template=bug_report.md
   Submit a feature request: https://github.com/firebase/firebase-tools/issues/new?template=feature_request.md

   We'd love to learn from you. Express your interest in helping us shape the future of Firebase Hosting: https://goo.gle/41enW5X

Error when trying to deploy: 
@ngx-env/builder:application (angularski:build:production) is not a recognized builder. Please check your angular.json
Expected behavior

Deploy

Actual behavior

Failed to deploy

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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của angular/angularfire

Tất cả issue của angular/angularfire

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.