-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
angular/angular-cli
#24662Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: migrationsIssues related to `ng update`/`ng generate` migrationsIssues related to `ng update`/`ng generate` migrationsbugcross-cutting: standaloneIssues related to the NgModule-less worldIssues related to the NgModule-less worldstate: has PR
Milestone
Description
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
No
Description
ng g @angular/core:standalone throws when a template uses the plural syntax
ng new standalone-migration --defaults
cd standalone-migration
ng update @angular/core@next @angular/cli@next --force
ng add @angular/localize
echo "<div>{ 0, plural, =0 {Nobody} }</div>" > src/app/app.component.html
ng g @angular/core:standalone --defaults
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
❯ ng g @angular/core:standalone --defaults
TextEncoder is not defined
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 15.2.0-next.3
Node: 16.17.0
Package Manager: npm 8.19.3
OS: darwin arm64
Angular: 15.2.0-next.3
... animations, cli, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1502.0-next.3
@angular-devkit/build-angular 15.2.0-next.3
@angular-devkit/core 15.2.0-next.3
@angular-devkit/schematics 15.2.0-next.3
@schematics/angular 15.2.0-next.3
rxjs 7.8.0
typescript 4.9.5
Anything else?
ng serve/build/test are all working fine
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: migrationsIssues related to `ng update`/`ng generate` migrationsIssues related to `ng update`/`ng generate` migrationsbugcross-cutting: standaloneIssues related to the NgModule-less worldIssues related to the NgModule-less worldstate: has PR