ng-deploy's browserTarget and prerender's browserTarget do not match. Please check your angular.json
- Lingua principale
- TypeScript
- Stelle
- 7.8k
- Fork
- 2.2k
- Merge medio
- 22h 28m
- PR unite (30g)
- 6
Descrizione
### 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
```true
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`)
```true
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_
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il malfunzionamento con ng deploy in un progetto Angular 18 e ispeziona i valori di browserTarget in angular.json utilizzati da ng-deploy e prerender. Confronta questi target con l'errore segnalato; il lavoro è completato quando il deployment non segnala più una mancata corrispondenza di browserTarget.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, firebase, typescript
- Ambito
- build-system, cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100