feat: support current Angular CLI versions
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- angular, typescript
- Ambito
- build-system, cli
Direzione di ricerca
The failing step is the build stage of cf deploy, which logs "Delegating to npx ng build --prod"; start by finding where the Angular build command is chosen in the deploy path and check how cf migrate detects Angular projects. Reproduce with an Angular 22 project that has a Worker entrypoint and static assets, then run cf deploy --dry-run. Done when the build runs ng build --configuration production and the deploy output still works for Workers.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary of the issue
I'd like to use cf with Angular 22, but the Angular build command still uses ng build --prod. Angular CLI 22 no longer accepts that flag.
I migrated an existing Angular app with a Worker and static assets using cf migrate. Running cf deploy --dry-run afterward fails with Error: Unknown argument: prod.
My existing build script uses ng build --configuration production, but cf deploy selects its own command.
Expected behaviour
Support current Angular CLI versions, using ng build --configuration production and handling the resulting output for Workers deployment.
Version of cf used
1.0.0-beta.17
System information and package versions
- macOS: 26.6.2 (arm64)
- Node.js: 22.23.2
- npm: 10.9.8
- cf: 1.0.0-beta.17
- Wrangler: 4.151.0
- Angular CLI: 22.2.2
Reproduction (optional)
In an existing Angular 22 project with a Worker entrypoint and static assets configured in wrangler.jsonc:
- Run
cf migrate wrangler.jsonc --no-install. - Run
npm install -D --save-exact [email protected] [email protected]. - Remove the generated dependency-installation TODO and migration guard after installing the dependencies.
- Run
cf deploy --dry-run.
Relevant error logs (optional)
├ Build
│ Delegating to npx ng build --prod
Error: Unknown argument: prod
- Lingua principale
- TypeScript
- Stelle
- 916
- Fork
- 53
- Merge medio
- 18h 37m
- PR unite (30g)
- 197
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cloudflare/cf
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
cloudflare/cf#344 ·
I maintainer di solito rispondono entro 1 giorno
-
upstream
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
cloudflare/cf#262 ·
I maintainer di solito rispondono entro 1 giorno
-
`cf dev` rejects `--port` and `--host` for Vite projects, including the `cf init` templateForse già presa @jamesopstad l’ha presa 12 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
cloudflare/cf#223 · 2 assegnatari ·
I maintainer di solito rispondono entro 1 giorno
-
upstream
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
cloudflare/cf#179 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
cloudflare/cf#406 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di cloudflare/cf
Issue simili
-
[good first issue, hacktoberfest] 🏯 Hacktoberfest Task - Add new Japan Fact 898 (good-first-issue)Apertacommunity first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
lingdojo/kana-dojo#33145 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
code-yeongyu/senpi#4278 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Activity | The activity list ignores taskIds and returns the activities of every taskForse già presa @NdekoCode l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ever-co/ever-gauzy#11469 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
griffinwork40/agent-afk#4408 ·
I maintainer di solito rispondono entro 1 giorno