LSParseConfigHost potentially mishandling extended config
See original GitHub issueSame 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:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
No results found
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
Confirmed this is now working with the default angular generated tsconfig.app/base/.ts structure.
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.