Questions tagged [angular-language-service]
25 questions
33
votes
2 answers
Angular language service in VSCode does not work because it is not an Angular project ('@angular/core/core.d.ts' could not be found)
Somehow the Angular (v11.0.4) language service in VSCode does not work anymore. I get the following error message.:
[Info - 17:52:04] Angular language server process ID: 147359
[Info - 17:52:04] Using typescript/lib/tsserverlibrary v4.0.5 from…

BuZZ-dEE
- 6,075
- 12
- 66
- 96
29
votes
7 answers
Suppress Angular Language Service VSCode extension's "strictTemplates in angularCompilerOptions" notification
Since we upgraded our codebase to Angular 11 I get this message in VSCode:
Some language features are not available. To access all features, enable strictTemplates in angularCompilerOptions.
Source: Angular Language Service (Extension)
With a link…

Jeroen
- 60,696
- 40
- 206
- 339
16
votes
2 answers
Angular: Running ngcc causing performance issues in VSCode
In my Visual Studio Code editor after last updates I see this text in the status bar:
Angular: Running ngcc for project d:/..../tsconfig.spec.json
It looks like frozen or do nothing a while, just spin the arrows.
Before this text I saw a similar…

netdjw
- 5,419
- 21
- 88
- 162
5
votes
3 answers
How to set up Angular Language Service in Neovim
My setup at the moment looks like this:
local cwd = vim.fn.getcwd()
local project_library_path = cwd .. "/node_modules"
local cmd = {
DATA_PATH .. "/lsp_servers/angularls/node_modules/@angular/language-server/bin/ngserver",
…

domrac
- 61
- 1
- 6
5
votes
3 answers
Property binding error after updating to Angular 13
I'm getting this error
Property binding ngIf not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations"
Even thou it works fine when I run…

Ibrahim Ali
- 2,083
- 2
- 15
- 36
5
votes
5 answers
Angular Language Service not working with VS Code, probable ways to trace the issue
I'm on Anuglar v4 and had installed Angular Language Service extension and its package for VS code, neither getting any intellisense in HTML nor any error in VS code developer tools.

Maulik
- 510
- 1
- 7
- 22
5
votes
1 answer
Unable to resolve signature for pipe invocation in vscode by Angular Language Service
I have a pipesModule in Angular library project when I import the module to another project, I got an error tip: Unable to resolve signature for pipe invocation in vs code, it still works, build without errors, but I have no idea how to fix it, I…

mmh
- 81
- 7
2
votes
1 answer
Angular Language Service extension for VS Code for Angular-16 not working?
After upgrading to Angular 16 I get errors when editing the components HTML because the Angular Language Service extension is not running properly.
[Info - 09:41:11] Angular language server process ID: 18032
[Info - 09:41:11] Using…

PeterFromCologne
- 10,213
- 9
- 36
- 46
2
votes
1 answer
Office Add-in Angular app by Yeoman generator: Component must have a template or templateUrl [with Webpack], even though it's declared
We are using Webpack and Angular template with require syntax like below in officeJS Add-In.
@Component({
moduleId: module.id.toString(),
selector: 'list',
template: require('./list.html')
})
We are getting error Component 'List' must…

Maulik
- 510
- 1
- 7
- 22
2
votes
2 answers
Angular langage service not working in vs code for new components generated with the cli
I have an older angular project with a few components already made. The angular language service is not working for NEW components generated with the cli,
New component generated today:
then here is the ts file:
however if you look in another…

Raphael Castro
- 907
- 1
- 8
- 26
1
vote
0 answers
VsCode Angular IntelliSense doesnt' work with cdkVirtualFor
I've installed the VsCode Angular Language Service Extension and I enabled strictTemplates in my .tsconfig.
It works almost like a charm. But I have a strange case. If you take a look at the images below, you will see that when the directive ngFor…

bjoern.stark
- 11
- 2
1
vote
3 answers
Angular extension might not work correctly because ngcc operation failed
This is the error I am getting.
However ng serve is running without any issues.
I am also getting this is a problem but I have imported ReactiveFormsModule correctly and it is also working as expected in the website I am just getting this error…

Sriharish S
- 534
- 1
- 4
- 14
1
vote
2 answers
Angular language service not working ,new version
I checked the Angular package.json files, but the current version is showing there. When I check the Angular language extension, it shows 15.2 which is not the current version. it happened after updating enter image description here
enter image…

Selim Ünal
- 19
- 4
1
vote
0 answers
Wild Web Developer - Angular Language Service is not yet enabled for project .../tsconfig.json
I'm trying to import an Angular project into Eclipse / Wild Web Developer. I just imported the Angular app root folder.
In the error log I see the following message:
Language Service is not yet enabled for project /PATH/TO/tsconfig.json
If I trust…

BuZZ-dEE
- 6,075
- 12
- 66
- 96
1
vote
2 answers
Angular CDK/Material tags showing as not a known element in VSCode with Angular Language Service
I'm seeing errors showing up in my HTML file where I use Angular CDK tags as shown in screenshot below in VSCode with Angular Language Service installed:
I have imported the cdk module into my app module as well:
Tried with Angular material as…

imationyj
- 145
- 2
- 8