Skip to content

TS-994005: Angular compiler option "extendedDiagnostics.checks" has an unknown check: "skipHydrationNotStatic". #59569

@dangrussell

Description

@dangrussell

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

compiler-cli

Is this a regression?

Yes

Description

Extended diagnostic skipHydrationNotStatic does not seem to be available.

Please provide a link to a minimal reproduction of the bug

Stackblitz
Run ng serve to see the error.

Please provide the exception or error you saw

Application bundle generation failed. [39.291 seconds]

✘ [ERROR] TS-994005: Angular compiler option "extendedDiagnostics.checks" has an unknown check: "skipHydrationNotStatic".

Allowed check names are:
controlFlowPreventingContentProjection
unusedStandaloneImports
invalidBananaInBox
nullishCoalescingNotNullable
optionalChainNotNullable
missingControlFlowDirective
textAttributeNotBinding
missingNgForOfLet
suffixNotSupported
interpolatedSignalNotInvoked
uninvokedFunctionInEventBinding
unusedLetDeclaration [plugin angular-compiler]


Watch mode enabled. Watching for file changes...

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

_                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 19.1.1
Node: 20.18.1
Package Manager: yarn 1.22.22
OS: win32 x64

Angular: 19.1.1
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1901.1
@angular-devkit/build-angular   19.1.1
@angular-devkit/core            19.1.1
@angular-devkit/schematics      19.1.1
@angular/cdk                    19.0.5
@schematics/angular             19.1.1
rxjs                            7.8.1
typescript                      5.7.3
zone.js                         0.15.0

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: compilerIssues related to `ngc`, Angular's template compiler

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions