Skip to content

Language Service: This component requires inline template type-checking, which is not supported by the current environment.(-998900) #46747

@kukjevov

Description

@kukjevov

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

compiler-cli, language-service

Is this a regression?

Yes

Description

After upgrading to angular 14.0.2 and higher some of components displays following error

This component requires inline template type-checking, which is not supported by the current environment.(-998900)

And in these component html templates no intellisense is working.

Reproduction steps:

  • git clone https://github.com/kukjevov/ng-universal-demo demo
  • cd demo
  • npm install
  • code .
  • open home.component.html or home.component.ts and you can see error

Please provide a link to a minimal reproduction of the bug

https://github.com/kukjevov/ng-universal-demo

Please provide the exception or error you saw

No response

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

Angular: 14.0.5
NodeJs: 16.15.0
Npm: 6.14.13
OS: Windows 10.0.19044 Build 19044

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: compilerIssues related to `ngc`, Angular's template compilerarea: language-serviceIssues related to Angular's VS Code language servicebugcompiler: template type-checkingstate: has PR

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions