-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@angular-devkit/build-angular:browser (app:build:production) is not a recognized builder #6908
Comments
This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information. |
Hi @sirozha, What version of Angular you use? |
@9kubczas4 Hi |
@9kubczas4 Hi there any updates on this issue as I am having the same error as well I am using angular 17.3.2. |
Also works for me on version 17.3.2, thanks @sirozha for raising issue |
Same issue for me. Angular CLI: 17.3.3 Angular: 17.3.3 Package Version@angular-devkit/architect 0.1703.3 |
Hello @sirozha @henrylangenhoven, Could you provide an example repository where this error exists? I'm facing issues with reproducing this error, I tried angular repos (v17.3.3) with firebase-tools (v13.5.2, v13.6.0 and v13.7.0) and deployment was successful. |
Hey @9kubczas4 Here are two jobs where this happend:
I've since switched to a fresh firebase project, so the firebase project associated with these builds are no longer available. |
I've since generated a new Angular project from scratch, and did the same setup. So my current solution is to start my project from scratch. Thanks @9kubczas4 for looking into it. |
@sirozha please let me if you have an example repository where I could reproduce this issue. |
@9kubczas4 you can check it out in this project |
I finally got it to work. @aalej 's idea in #7029 didn't quite work. It did get rid of the error but then the project didn't deploy to firebase in any sort of working state. It had all sorts of strange problems - including it did not build the website before deploying (when calling firebase deploy). And building it myself before calling firebase deploy still left all the weird bugs, like routing does not work, etc. So, DON'T change the setting in firebase.json from "source": "." to "public": "www" (in my case it was www). This causes all these problems. Instead, something is buggy with the build stuff setup in the angular.json file. I just removed it any everything finally works.
|
The issue was fixed by #7264. It'll be available in the next release of |
Building the project via
ng build
succeeds, but after running thefirebase deploy --only hosting
command I get an error[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
The text was updated successfully, but these errors were encountered: