-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin does not support tsconfig.json file with multi-line comments #69
Comments
I would say you should avoid loading the solution style file here, even more as the spec files are probably irrelevant to the project's hierarchy. That say, a tool for Angular should understand "Json with comment" file format, including comments of both style, trailing commas, and so on. On my project, it fails with:
FYI, This file includes a tsconfig.common.js file, which includes another file from node_modules (one of our own libraries), making hard to track where the issue is. |
Describe the bug
When using "ngd" command inside the root folder of an Angular 10 project an exception is thrown:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should understand that the text included in /* */ is a comment and parse the file correctly.
Screenshots
If needed, ask me.
Desktop:
Additional context
Here is my tsconfig.json, generated by Angular CLI:
The text was updated successfully, but these errors were encountered: