angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

ng-deploy's browserTarget and prerender's browserTarget do not match. Please check your angular.json

Open mazlano27 opened this issue 2 years ago • 4 comments

Which @angular/* package(s) are the source of the bug?

Don't known / other

Is this a regression?

Yes

Description

I update my angular project with firebase to v18. When I run ng deploy, I get the below error. Reverting back to angular v17 fixed the error.

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

ng-deploy's browserTarget and prerender's browserTarget do not match. Please check your angular.json

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 18.0.4
Node: 20.9.0
Package Manager: npm 10.8.1
OS: darwin arm64

Angular: 18.0.3
... animations, cdk, common, compiler, compiler-cli, core, forms
... material, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1800.4
@angular-devkit/build-angular   18.0.4
@angular-devkit/core            18.0.4
@angular-devkit/schematics      18.0.4
@angular/cli                    18.0.4
@angular/fire                   18.0.1
@angular/ssr                    18.0.4
@schematics/angular             18.0.4
rxjs                            7.8.1
typescript                      5.4.5
zone.js                         0.14.7

Anything else?

No response

mazlano27 avatar Jun 16 '24 03:06 mazlano27

Did you opt-in to use the application builder?

alan-agius4 avatar Jun 17 '24 16:06 alan-agius4

Did you opt-in to use the application builder?

Yes I did

mazlano27 avatar Jun 17 '24 17:06 mazlano27

I suspect that that might require some configuration changes. I suggest to file an issue with https://github.com/angular/angularfire

alan-agius4 avatar Jun 18 '24 07:06 alan-agius4

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.