question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

0.1100.3 template inspection not working

See original GitHub issue

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:

  1. Create new angular project
  2. Add an object property
  3. Try to access a non-existent property of that object from the template

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:

[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
  1. nglangsvc.log

Screenshots

image image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
bubliqcommented, Jan 15, 2021

Same problem with 0.1100.3 Downgrade to version v0.1100.2 helped

3reactions
kyliaucommented, Jan 15, 2021

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:

  1. https://github.com/angular/angular/pull/39898
  2. https://github.com/angular/angular/pull/39917

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
Read more comments on GitHub >

github_iconTop Results From Across the Web

SafetyCulture mobile app inspection error troubleshooting guide
This message indicates you may be conducting the inspection with an outdated template. Check if the mobile app is on the latest version...
Read more >
How can I use the '[OAC Management Inc.] Pre-Roofing ...
This inspection template has been automatically added to the Company level Inspections tool for all companies with the Inspections tool enabled.
Read more >
Understanding the ScribeWare Template
This means you can have a single template that can work for any job and simply ignore the parts of the template that...
Read more >
Inspection Information for Residents - HUD
Inspectors may find issues that your property fix at once to meet HUD's standards and ensure that your home is decent, safe, and...
Read more >
ISN Integration Troubleshooting for Missing Inspections
If you're not seeing certain inspection types, re-run the ISN Setup Wizard and set all your inspections to import. Note that you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found