Describe the bug
Basically the title, the template inspection doesn't work, you can't navigate to a variable, errors aren't shown etc.
When I reverted back to 0.1100.2 it started working again
To Reproduce
Steps to reproduce the behavior:
Expected behavior
You can navigate to the property definition by pressing F12 or Ctrl + left click
An error is displayed about the missing property
Actual behavior
Navigation doesn't work
No error is displayed
Logs
Please attach two logs:
1.
[0115/133555.049:ERROR:registration_protocol_win.cc(103)] CreateFile: The system cannot find the file specified. (0x2)
[Info - 1:35:55 PM] Angular language server process ID: 8152
[Info - 1:35:55 PM] Using typescript/lib/tsserverlibrary v4.0.5 from c:\Users\nikit\.vscode\extensions\angular.ng-template-0.1100.3\node_modules\typescript\lib\tsserverlibrary.js
[Info - 1:35:55 PM] Using @angular/language-service v11.0.9 from c:\Users\nikit\.vscode\extensions\angular.ng-template-0.1100.3\server\node_modules\@angular\language-service\bundles\language-service.js
[Info - 1:35:55 PM] Log file: c:\Users\nikit\AppData\Roaming\Code\logs\20210115T133438\exthost3\Angular.ng-template\nglangsvc.log
[Info - 1:35:57 PM] Enabling VE language service for d:/repos/test-angular/tsconfig.json.
[Error - 1:35:57 PM] Failed to find project for d:\repos\test-angular\src\app\app.component.html
[Error - 1:36:11 PM] No config file for d:/repos/test-angular/src/app/app.component.html
Screenshots
I have a same problem.
Same problem with 0.1100.3
Downgrade to version v0.1100.2 helped
Same problem with 0.1100.3
Downgrade to version v0.1100.2 helped
reinstall vscode and extensions not working, 2h wasted
thankyou
Same problem with 0.1100.3
Downgrade to version v0.1100.2 helpedreinstall vscode and extensions not working, 2h wasted
thankyou
Same problem with 0.1100.3
Downgrade to version v0.1100.2 helpedreinstall vscode and extensions not working, 2h wasted
thankyou
2 hours wasted? It literally takes up to 1 minute to install another version like bubliq is already showing.
Thanks for the hint, worked for me as well!
I haven't write angular apps for 7 month and today I'm about to work on a new project, angular extension gave me this surprise.
Downgrading to v0.1100.2 solves the problem.
Same issue. Downgrading helps.
Fix 🙏.
Thanks for submitting the report. Since there is no way to roll back the release, I'll republish 0.1100.2 as the latest version while we investigate the issue.
On the other hand, looking at the change log, I've narrowed the issue down to two commits:
I suspect this is a Windows-only issue. From the log provided (thanks for uploading), the path separator is inconsistent:
[Info - 1:35:57 PM] Enabling VE language service for d:/repos/test-angular/tsconfig.json.
[Error - 1:35:57 PM] Failed to find project for d:\repos\test-angular\src\app\app.component.html
[Error - 1:36:11 PM] No config file for d:/repos/test-angular/src/app/app.component.html
Fixed in v11.1.0, published to the marketplace
https://github.com/angular/vscode-ng-language-service/releases/tag/v11.1.0
Fixed in v11.1.0, published to the marketplace
https://github.com/angular/vscode-ng-language-service/releases/tag/v11.1.0
Worked for me, thanks, @kyliau
Most helpful comment
Same problem with 0.1100.3
Downgrade to version v0.1100.2 helped