Comments (1)
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.
Perhaps the project should use a better library for reading Json config files?
On my project, it fails with:
SyntaxError: C:\___\tsconfig.main.json: Unexpected token ] in JSON at position 252
at parse (<anonymous>)
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1128:22)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object.Application.run (C:\PrgFiles\nvm\v14.18.2\node_modules\@compodoc\ngd-cli\dist\cli.js:54:25)
at Object.<anonymous> (C:\PrgFiles\nvm\v14.18.2\node_modules\@compodoc\ngd-cli\dist\index.js:4:19)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
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.
Of course, these config files are perfectly OK for TypeScript.
from ngd.
Related Issues (20)
- (bug): TypeError: Viz is not a function
- (feat) forRoot HOT 1
- add minimum distance between lines HOT 2
- Cannot enlarge memory arrays. HOT 13
- CLI Silent Option Doesn't Work HOT 1
- fix(): remove dependency on gulp-util from ngd-core pacakge HOT 1
- feat: move the build system to Bazel
- NGD unable to differentiate same component name in different moudles
- dot npm package vulnerability (npm audit failing) HOT 7
- parameter for layouting HOT 2
- parametr for filtering what element to render
- highlight the element or relationship on click
- AngularJS Dependency graph
- NGD does not recognise -l or --files option HOT 1
- Since 2.1, `@compodoc/ngd-transformer` now requires Node >= 12.17.0 HOT 2
- Arbitrary Code Injection Vulnerability for dependency
- Max call stack size exceeded HOT 2
- Compodoc installation : Pb with ngd-tranformer which download "dot" 2.0.0 beta version
- Question: Is it possible to just show the dependency tree of a given component? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngd.