Issues with solution-style tsconfig.json and Ivy language service
See original GitHub issueDescribe the bug
With Ivy language service enabled and a solution-style tsconfig.json
that includes a tsconfig.spec.json
, the language service is not at first aware of any custom components and displays '...' is not a known element
errors. (If any of the tsconfig files is saved again (even without actual changes), the issue is resolved for a while.)
To Reproduce
tsconfig.json
{
"files": [],
"references": [{ "path": "./tsconfig.lib.json" }, { "path": "./tsconfig.spec.json" }]
}
tsconfig.lib.json
{
"extends": "../../tsconfig.lib.base.json",
"include": ["**/*.ts"],
"exclude": ["**/*.spec.ts"]
}
tsconfig.spec.json
{
"extends": "../../tsconfig.spec.base.json",
"include": ["**/*.spec.ts"]
}
I believe the issue is triggered by the fact that "include": ["**/*.spec.ts"]
does not include the module or components.
Expected behavior
No errors.
Logs
[Info - 7:36:40 AM] Angular language server process ID: 47810
[Info - 7:36:40 AM] Using typescript/lib/tsserverlibrary v4.1.3 from .vscode/extensions/angular.ng-template-11.1.3/node_modules/typescript/lib/tsserverlibrary.js
[Info - 7:36:40 AM] Using @angular/language-service/bundles/ivy v11.1.2 from .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js
[Info - 7:36:40 AM] Log file: Library/Application Support/Code/logs/20210125T112042/exthost1/Angular.ng-template/nglangsvc.log
[Info - 7:36:40 AM] Disabling language service for repo/libs/dashboard/tsconfig.json because it is not an Angular project ('@angular/core/core.d.ts' could not be found). If you believe you are seeing this message in error, please reinstall the packages in your package.json.
[Info - 7:36:48 AM] Enabling Ivy language service for repo/libs/dashboard/tsconfig.spec.json.
[Info - 7:36:49 AM] Enabling Ivy language service for repo/libs/dashboard/tsconfig.lib.json.
Info 0 [7:36:40.719] Format host information updated
Info 1 [7:36:40.719] reload projects.
Info 2 [7:36:40.719] Before ensureProjectForOpenFiles:
Info 3 [7:36:40.719] After ensureProjectForOpenFiles:
Info 4 [7:36:40.719] Host file extension mappings updated
Info 5 [7:36:40.720] Angular language server process ID: 47810
Info 6 [7:36:40.720] Using typescript/lib/tsserverlibrary v4.1.3 from .vscode/extensions/angular.ng-template-11.1.3/node_modules/typescript/lib/tsserverlibrary.js
Info 7 [7:36:40.720] Using @angular/language-service/bundles/ivy v11.1.2 from .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js
Info 8 [7:36:40.720] Log file: Library/Application Support/Code/logs/20210125T112042/exthost1/Angular.ng-template/nglangsvc.log
Info 9 [7:36:40.724] Search path: repo/libs/dashboard/src/lib/components/metrics-kpi-panel
Info 10 [7:36:40.725] For info: repo/libs/dashboard/src/lib/components/metrics-kpi-panel/metrics-kpi-panel.component.html :: Config file name: repo/libs/dashboard/tsconfig.json
Info 11 [7:36:40.726] Opened configuration file repo/libs/dashboard/tsconfig.json
Info 12 [7:36:40.729] Loading new project: Creating possible configured project for repo/libs/dashboard/src/lib/components/metrics-kpi-panel/metrics-kpi-panel.component.html to open
Info 13 [7:36:40.735] Config: repo/libs/dashboard/tsconfig.json : {
"rootNames": [],
"options": {
"configFilePath": "repo/libs/dashboard/tsconfig.json"
},
"projectReferences": [
{
"path": "repo/libs/dashboard/tsconfig.lib.json",
"originalPath": "./tsconfig.lib.json"
},
{
"path": "repo/libs/dashboard/tsconfig.spec.json",
"originalPath": "./tsconfig.spec.json"
}
]
}
Info 14 [7:36:40.736] Loading global plugin @angular/language-service/bundles/ivy
Info 15 [7:36:40.736] Enabling plugin @angular/language-service/bundles/ivy from candidate paths: .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js,.vscode/extensions/angular.ng-template-11.1.3/node_modules/typescript/lib/tsserverlibrary.js/../../..
Info 16 [7:36:40.736] Loading @angular/language-service/bundles/ivy from .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js (resolved to .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js/node_modules)
Info 17 [7:36:40.781] Angular compiler options for repo/libs/dashboard/tsconfig.json: {
"configFilePath": "repo/libs/dashboard/tsconfig.json",
"enableIvy": true,
"genDir": "repo/libs/dashboard",
"basePath": "repo/libs/dashboard",
"compileNonExportedClasses": false
}
Info 18 [7:36:40.782] Plugin validation succeded
Info 19 [7:36:40.858] Starting updateGraphWorker: Project: repo/libs/dashboard/tsconfig.json
Info 20 [7:36:40.914] Finishing updateGraphWorker: Project: repo/libs/dashboard/tsconfig.json Version: 1 structureChanged: true Elapsed: 56.11364483833313ms
Info 21 [7:36:40.914] Project 'repo/libs/dashboard/tsconfig.json' (Configured)
Info 22 [7:36:40.915] Files (0)
Info 23 [7:36:40.915] -----------------------------------------------
Info 24 [7:36:40.916] Disabling language service for repo/libs/dashboard/tsconfig.json because it is not an Angular project ('@angular/core/core.d.ts' could not be found). If you believe you are seeing this message in error, please reinstall the packages in your package.json.
Info 25 [7:36:40.919] Opened configuration file repo/libs/dashboard/tsconfig.lib.json
Info 26 [7:36:40.920] Loading new project: Creating project referenced in solution repo/libs/dashboard/tsconfig.json to find possible configured project for repo/libs/dashboard/src/lib/components/metrics-kpi-panel/metrics-kpi-panel.component.html to open
Info 27 [7:36:40.942] Config: repo/libs/dashboard/tsconfig.lib.json : {
"rootNames": [
...<all *.ts files including the module and all components>...
],
"options": {
"target": 1,
"lib": [
"lib.dom.d.ts",
"lib.es2016.d.ts"
],
"downlevelIteration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"mapRoot": "./",
"module": 99,
"moduleResolution": 2,
"noFallthroughCasesInSwitch": true,
"outDir": "repo/dist/out-tsc",
"sourceMap": true,
"baseUrl": "repo",
"paths": {
...
},
"rootDir": "repo",
"pathsBasePath": "repo",
"types": [
"node",
"pendo-io-browser"
],
"strict": true,
"configFilePath": "repo/libs/dashboard/tsconfig.lib.json"
}
}
Info 28 [7:36:40.942] Loading global plugin @angular/language-service/bundles/ivy
Info 29 [7:36:40.942] Enabling plugin @angular/language-service/bundles/ivy from candidate paths: .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js,.vscode/extensions/angular.ng-template-11.1.3/node_modules/typescript/lib/tsserverlibrary.js/../../..
Info 30 [7:36:40.942] Loading @angular/language-service/bundles/ivy from .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js (resolved to .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js/node_modules)
Info 31 [7:36:40.962] Angular compiler options for repo/libs/dashboard/tsconfig.lib.json: {
"target": 1,
"lib": [
"lib.dom.d.ts",
"lib.es2016.d.ts"
],
"downlevelIteration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"mapRoot": "./",
"module": 99,
"moduleResolution": 2,
"noFallthroughCasesInSwitch": true,
"outDir": "repo/dist/out-tsc",
"sourceMap": true,
"baseUrl": "repo",
"paths": {
...
},
"rootDir": "repo",
"pathsBasePath": "repo",
"types": [
"node",
"pendo-io-browser"
],
"strict": true,
"configFilePath": "repo/libs/dashboard/tsconfig.lib.json",
"fullTemplateTypeCheck": true,
"enableIvy": true,
"strictMetadataEmit": true,
"skipTemplateCodegen": true,
"enableResourceInlining": true,
"importHelpers": true,
"strictInjectionParameters": true,
"genDir": "repo/libs/dashboard",
"basePath": "repo/libs/dashboard",
"compileNonExportedClasses": false
}
Info 32 [7:36:40.962] Plugin validation succeded
Info 33 [7:36:40.977] Starting updateGraphWorker: Project: repo/libs/dashboard/tsconfig.lib.json
Info 34 [7:36:44.450] Finishing updateGraphWorker: Project: repo/libs/dashboard/tsconfig.lib.json Version: 1 structureChanged: true Elapsed: 3472.8698959350586ms
Info 35 [7:36:44.450] Project 'repo/libs/dashboard/tsconfig.lib.json' (Configured)
Info 36 [7:36:44.450] Files (948)
Info 37 [7:36:44.450] -----------------------------------------------
Info 38 [7:36:44.461] Opened configuration file repo/libs/dashboard/tsconfig.spec.json
Info 39 [7:36:44.462] Loading new project: Creating project referenced in solution repo/libs/dashboard/tsconfig.json to find possible configured project for repo/libs/dashboard/src/lib/components/metrics-kpi-panel/metrics-kpi-panel.component.html to open
Info 40 [7:36:44.496] Config: repo/libs/dashboard/tsconfig.spec.json : {
"rootNames": [
...<only *.spec.ts files>...
],
"options": {
"target": 1,
"lib": [
"lib.dom.d.ts",
"lib.es2016.d.ts"
],
"downlevelIteration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"mapRoot": "./",
"module": 99,
"moduleResolution": 2,
"noFallthroughCasesInSwitch": true,
"outDir": "repo/dist/out-tsc",
"sourceMap": true,
"baseUrl": "repo",
"paths": {
...
},
"rootDir": "repo",
"pathsBasePath": "repo",
"incremental": true,
"typeRoots": [
"repo/node_modules/@types"
],
"types": [
"jest",
"node",
"pendo-io-browser"
],
"strict": true,
"configFilePath": "repo/libs/dashboard/tsconfig.spec.json"
}
}
Info 41 [7:36:44.496] Loading global plugin @angular/language-service/bundles/ivy
Info 42 [7:36:44.496] Enabling plugin @angular/language-service/bundles/ivy from candidate paths: .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js,.vscode/extensions/angular.ng-template-11.1.3/node_modules/typescript/lib/tsserverlibrary.js/../../..
Info 43 [7:36:44.496] Loading @angular/language-service/bundles/ivy from .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js (resolved to .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js/node_modules)
Info 44 [7:36:44.512] Angular compiler options for repo/libs/dashboard/tsconfig.spec.json: {
"target": 1,
"lib": [
"lib.dom.d.ts",
"lib.es2016.d.ts"
],
"downlevelIteration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"mapRoot": "./",
"module": 99,
"moduleResolution": 2,
"noFallthroughCasesInSwitch": true,
"outDir": "repo/dist/out-tsc",
"sourceMap": true,
"baseUrl": "repo",
"paths": {
...
},
"rootDir": "repo",
"pathsBasePath": "repo",
"incremental": true,
"typeRoots": [
"repo/node_modules/@types"
],
"types": [
"jest",
"node",
"pendo-io-browser"
],
"strict": true,
"configFilePath": "repo/libs/dashboard/tsconfig.spec.json",
"fullTemplateTypeCheck": true,
"enableIvy": true,
"genDir": "repo/libs/dashboard",
"basePath": "repo/libs/dashboard",
"compileNonExportedClasses": false
}
Info 45 [7:36:44.512] Plugin validation succeded
Info 46 [7:36:44.515] Starting updateGraphWorker: Project: repo/libs/dashboard/tsconfig.spec.json
Info 47 [7:36:47.62] Finishing updateGraphWorker: Project: repo/libs/dashboard/tsconfig.spec.json Version: 1 structureChanged: true Elapsed: 2546.546418905258ms
Info 48 [7:36:47.62] Project 'repo/libs/dashboard/tsconfig.spec.json' (Configured)
Info 49 [7:36:47.62] Files (965)
Info 50 [7:36:47.62] -----------------------------------------------
Info 51 [7:36:47.72] Loading global plugin @angular/language-service/bundles/ivy
Info 52 [7:36:47.72] Enabling plugin @angular/language-service/bundles/ivy from candidate paths: .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js,.vscode/extensions/angular.ng-template-11.1.3/node_modules/typescript/lib/tsserverlibrary.js/../../..
Info 53 [7:36:47.72] Loading @angular/language-service/bundles/ivy from .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js (resolved to .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js/node_modules)
Info 54 [7:36:47.79] Angular compiler options for /dev/null/inferredProject1*: {}
Info 55 [7:36:47.80] Plugin validation succeded
Info 56 [7:36:47.81] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 57 [7:36:48.324] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true Elapsed: 1242.147104024887ms
Info 58 [7:36:48.324] Project '/dev/null/inferredProject1*' (Inferred)
Info 59 [7:36:48.324] Files (223)
Info 60 [7:36:48.324] -----------------------------------------------
Info 61 [7:36:48.332] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: WatchType: node_modules for closed script infos in them
Info 62 [7:36:48.333] Elapsed:: 0.43981194496154785ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: WatchType: node_modules for closed script infos in them
Info 63 [7:36:48.333] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: WatchType: node_modules for closed script infos in them
Info 64 [7:36:48.333] Elapsed:: 0.25690698623657227ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: WatchType: node_modules for closed script infos in them
Info 65 [7:36:48.333] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: WatchType: node_modules for closed script infos in them
Info 66 [7:36:48.333] Elapsed:: 0.21040105819702148ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: WatchType: node_modules for closed script infos in them
Info 67 [7:36:48.333] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: WatchType: node_modules for closed script infos in them
Info 68 [7:36:48.334] Elapsed:: 0.19550013542175293ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: WatchType: node_modules for closed script infos in them
Info 69 [7:36:48.334] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.lib.json WatchType: Failed Lookup Locations
Info 70 [7:36:48.334] Elapsed:: 0.1712799072265625ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.lib.json WatchType: Failed Lookup Locations
Info 71 [7:36:48.334] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.lib.json WatchType: Failed Lookup Locations
Info 72 [7:36:48.334] Elapsed:: 0.018162965774536133ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.lib.json WatchType: Failed Lookup Locations
Info 73 [7:36:48.334] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.lib.json WatchType: Failed Lookup Locations
Info 74 [7:36:48.334] Elapsed:: 0.014991998672485352ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.lib.json WatchType: Failed Lookup Locations
Info 75 [7:36:48.334] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.lib.json WatchType: Failed Lookup Locations
Info 76 [7:36:48.334] Elapsed:: 0.018976926803588867ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.lib.json WatchType: Failed Lookup Locations
Info 77 [7:36:48.334] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.spec.json WatchType: Failed Lookup Locations
Info 78 [7:36:48.334] Elapsed:: 0.01914215087890625ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.spec.json WatchType: Failed Lookup Locations
Info 79 [7:36:48.334] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.spec.json WatchType: Failed Lookup Locations
Info 80 [7:36:48.334] Elapsed:: 0.01367497444152832ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.spec.json WatchType: Failed Lookup Locations
Info 81 [7:36:48.334] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.spec.json WatchType: Failed Lookup Locations
Info 82 [7:36:48.334] Elapsed:: 0.013788223266601562ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.spec.json WatchType: Failed Lookup Locations
Info 83 [7:36:48.334] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.spec.json WatchType: Failed Lookup Locations
Info 84 [7:36:48.334] Elapsed:: 0.014148950576782227ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: repo/libs/dashboard/tsconfig.spec.json WatchType: Failed Lookup Locations
Info 85 [7:36:48.334] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations
Info 86 [7:36:48.334] Elapsed:: 0.016272783279418945ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations
Info 87 [7:36:48.334] DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations
Info 88 [7:36:48.334] Elapsed:: 0.012202024459838867ms DirectoryWatcher:: Triggered with repo/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__ :: WatchInfo: repo/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations
Info 89 [7:36:48.337] Enabling Ivy language service for repo/libs/dashboard/tsconfig.spec.json.
Info 90 [7:36:48.337] Starting updateGraphWorker: Project: repo/libs/dashboard/tsconfig.spec.json
Info 91 [7:36:48.444] Finishing updateGraphWorker: Project: repo/libs/dashboard/tsconfig.spec.json Version: 2 structureChanged: true Elapsed: 106.51388597488403ms
Info 92 [7:36:48.444] Different program with same set of files:: structureIsReused:: 0
Info 93 [7:36:49.112] Enabling Ivy language service for repo/libs/dashboard/tsconfig.lib.json.
Info 94 [7:36:49.112] Starting updateGraphWorker: Project: repo/libs/dashboard/tsconfig.lib.json
Info 95 [7:36:49.210] Finishing updateGraphWorker: Project: repo/libs/dashboard/tsconfig.lib.json Version: 2 structureChanged: true Elapsed: 97.85134387016296ms
Info 96 [7:36:49.210] Different program with same set of files:: structureIsReused:: 0
Info 97 [7:36:50.126] Loading global plugin @angular/language-service/bundles/ivy
Info 98 [7:36:50.126] Enabling plugin @angular/language-service/bundles/ivy from candidate paths: .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js,.vscode/extensions/angular.ng-template-11.1.3/node_modules/typescript/lib/tsserverlibrary.js/../../..
Info 99 [7:36:50.126] Loading @angular/language-service/bundles/ivy from .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js (resolved to .vscode/extensions/angular.ng-template-11.1.3/node_modules/@angular/language-service/bundles/ivy.js/node_modules)
Info 100 [7:36:50.136] Angular compiler options for repo/libs/dashboard/tsconfig.spec.json-external: {}
Info 101 [7:36:50.137] Plugin validation succeded
Info 102 [7:36:50.153] Starting updateGraphWorker: Project: repo/libs/dashboard/tsconfig.spec.json-external
Info 103 [7:36:51.145] Finishing updateGraphWorker: Project: repo/libs/dashboard/tsconfig.spec.json-external Version: 1 structureChanged: true Elapsed: 992.1286799907684ms
Info 104 [7:36:51.145] Project 'repo/libs/dashboard/tsconfig.spec.json-external' (External)
Info 105 [7:36:51.145] Files (223)
Info 106 [7:36:51.145] -----------------------------------------------
Info 107 [7:36:51.206] Starting updateGraphWorker: Project: repo/libs/dashboard/tsconfig.spec.json
Info 108 [7:36:51.303] Finishing updateGraphWorker: Project: repo/libs/dashboard/tsconfig.spec.json Version: 3 structureChanged: true Elapsed: 97.05946207046509ms
Info 109 [7:36:51.303] Project 'repo/libs/dashboard/tsconfig.spec.json' (Configured)
Info 110 [7:36:51.303] Files (966)
Info 111 [7:36:51.303] -----------------------------------------------
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Angular: Running ngcc causing performance issues in VSCode
EDIT: They improved performance in Angular Language Service v11.2.3 ... In your tsconfig.json file set "fullTemplateTypeCheck" to false and ...
Read more >Under the Hood of the Language Service - Angular Blog
The Ivy powered Angular Language Service features better performance because it is built from the ground up for incremental builds.
Read more >References | ASP.NET Core 6 and Angular - Fifth Edition
https://blog.ninja-squad.com/2019/05/07/what-is-angular-ivy/ ... /handbook/release-notes/typescript-3-9.html#support-for-solution-style-tsconfigjson-files ...
Read more >"Solution Style" tsconfig.json not loaded correctly
With typescript 3.9 the “Solution Style” tsconfig.json files were introduced. But it seems the editor doesn't load them correctly and it breaks all ......
Read more >Get to know the new Angular version 10! - HostArmada
The “Solution Style” concept of the tsconfig.json file is included in ... like the Angular Language Service, and provide the ability to accommodate ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Is it a fix to disable ivy support? It also works for me but I don’t think it’s a proper solution as angular 11 does use ivy under the hood.
The 11.2.3 update and disabling ivy support seems to have solved this for me