Skip to content

Project no longer compiles after upgrading from 21.2.2 to 21.2.3 #67704

@Kaitenjo

Description

@Kaitenjo

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

compiler-cli

Is this a regression?

Yes

Description

After upgrading my project to version 21.2.3, the compilation fails with the following error.

Image

After a few minutes of debugging, I concluded it was caused by the K in this generic.
Image

Here are two StackBlitz reproductions with the exact same code:

21.2.2 (working)
https://stackblitz.com/edit/stackblitz-starters-hbe4upra?file=package.json

21.2.3 (broken)
https://stackblitz.com/edit/stackblitz-starters-mtfblaok?file=package.json

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/stackblitz-starters-mtfblaok?file=src%2Fmain.ts

Please provide the exception or error you saw

✘ [ERROR] Unsupported WrappedNodeExpr in TypeTranslatorVisitor: TypeParameter [plugin angular-compiler]

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

Angular CLI: 21.2.3
Node: 24.14.0
Package Manager: npm 11.9.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

area: compilerIssues related to `ngc`, Angular's template compilergemini-triagedLabel noting that an issue has been triaged by gemini

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions