Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#3,499 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
angular, firebase, typescript

調査の方向性

angular.json の設定から始め、issue に記載されているバージョンで ng deploy を使用して報告された失敗を再現します。AngularFire/Firebase Hosting のデプロイ中に @ngx-env/builder:application がどのように解決されるかを比較します。報告されたプロジェクトが unrecognized-builder エラーなしでデプロイできれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
TypeScript
スター
7.8k
フォーク
2.2k
平均マージ
3日 6時間
マージ済み PR(30日)
5

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

angular/angularfire のほかの issue

angular/angularfire の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。