firebase-tools
firebase-tools copied to clipboard
Firebase deployment not working when using @ngx-env/builder
[REQUIRED] Environment info
firebase-tools: 13.3.0
Platform: Windows
[REQUIRED] Test case
Angular SSR project using @ngx-env/builder and Firebase Hosting.
angular.json firebase.json package.json
[REQUIRED] Steps to reproduce
- Create Angular SSR project (version 17.1.0)
- Add @ngx-env/builder (version 17.1.3) by running the command ng add @ngx-env/builder
- Configure Firebase Hosting for detected codebase (Angular)
[REQUIRED] Expected behavior
Deploy Angular application to Firebase Hosting.
[REQUIRED] Actual behavior
The deployment not working and the following error is displayed @ngx-env/builder:application (test:build:production) is not a recognized builder. Please check your angular.json
Hope I provided all the necessary details. Note: This issue started with firebase-tools version 13.0.0. I had a look on the source code and from that version was introduced a check that throws the error message which I encounter.
Really appreciate any help how can I fix this problem.