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.

LSParseConfigHost potentially mishandling extended config

See original GitHub issue

Same problem here with “angular.experimental-ivy:true”. Also tried latest manual install (0.1101.0-next.1)

An issue appears to be the concatenation of paths in the vscode extension when locating the tsconfig.json file:

[Info  - 11:28:47 AM] Angular language server process ID: 33010
[Info  - 11:28:47 AM] Using typescript/lib/tsserverlibrary v4.0.5 from /Users/lincoln/projects/maritlabs/topdecked-unified/node_modules/typescript/lib/tsserverlibrary.js
[Info  - 11:28:47 AM] Using @angular/language-service/bundles/ivy v11.1.0-next.3 from /Users/lincoln/.vscode/extensions/angular.ng-template-0.1101.0-next.1/node_modules/@angular/language-service/bundles/ivy.js
[Info  - 11:28:47 AM] Log file: /Users/lincoln/Library/Application Support/Code/logs/20201217T103253/exthost1/Angular.ng-template/nglangsvc.log
[Error - 11:28:53 AM] Cannot read file '/Users/lincoln/projects/maritlabs/topdecked-unified/Users/lincoln/projects/maritlabs/topdecked-unified/tsconfig.base.json'.
[Info  - 11:28:54 AM] Enabling Ivy language service for /Users/lincoln/projects/maritlabs/topdecked-unified/tsconfig.json.

Note this line:

Cannot read file '/Users/lincoln/projects/maritlabs/topdecked-unified/Users/lincoln/projects/maritlabs/topdecked-unified/tsconfig.base.json'.

This should clearly be /Users/lincoln/projects/maritlabs/topdecked-unified/tsconfig.base.json. Not sure why this is happening. I don’t think I have any special configuration for file paths.

Happy to provide the nglangsvc.log file (directly to devs) as well but cannot post online for security reasons.

_Originally posted by @lincolnthree in https://github.com/angular/vscode-ng-language-service/issues/1002#issuecomment-747552907_

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lincolnthreecommented, Jan 8, 2021

Confirmed this is now working with the default angular generated tsconfig.app/base/.ts structure.

0reactions
angular-automatic-lock-bot[bot]commented, Feb 8, 2021

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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