Skip to content

@angular-devkit/build-angular:browser (app:build:production) is not a recognized builder #6908

@sirozha

Description

@sirozha

Building the project via ng build succeeds, but after running the firebase deploy --only hosting command I get an error

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: @angular-devkit/build-angular:browser (app:build:production) is not a recognized builder. Please check your angular.json

[REQUIRED] Environment info

13.5.2

firebase-tools:

13.5.2

Platform:

macOS

[REQUIRED] Test case

[REQUIRED] Steps to reproduce

ng build && firebase deploy --only hosting

[REQUIRED] Expected behavior

deploy success

[REQUIRED] Actual behavior

firebase deploy --only hosting

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions