Skip to content
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

[BUG] Trying to run compo, generates this error #1436

Open
meibyhernandez opened this issue Feb 8, 2024 · 3 comments
Open

[BUG] Trying to run compo, generates this error #1436

meibyhernandez opened this issue Feb 8, 2024 · 3 comments

Comments

@meibyhernandez
Copy link

Unhandled Rejection at: Promise {
SyntaxError: JSON5: invalid character '(' at 1:189
at syntaxError (D:\coding projects\endlessAdventures\node_modules\json5\lib\parse.js:1110:17)
at invalidChar (D:\coding projects\endlessAdventures\node_modules\json5\lib\parse.js:1055:12)
at Object.value (D:\coding projects\endlessAdventures\node_modules\json5\lib\parse.js:309:15)
at lex (D:\coding projects\endlessAdventures\node_modules\json5\lib\parse.js:100:42)
at Object.parse (D:\coding projects\endlessAdventures\node_modules\json5\lib\parse.js:25:17)
at loopInsideModule (D:\coding projects\endlessAdventures\node_modules@compodoc\compodoc\dist\index.js:6580:63)
at loopRoutesParser (D:\coding projects\endlessAdventures\node_modules@compodoc\compodoc\dist\index.js:6613:29)
at loopRoutesParser (D:\coding projects\endlessAdventures\node_modules@compodoc\compodoc\dist\index.js:6624:21)
at RouterParserUtil.constructRoutesTree (D:\coding projects\endlessAdventures\node_modules@compodoc\compodoc\dist\index.js:6628:9)
at AngularDependencies.getDependencies (D:\coding projects\endlessAdventures\node_modules@compodoc\compodoc\dist\index.js:9977:50)
{
lineNumber: 1,
columnNumber: 189
}
} reason: SyntaxError: JSON5: invalid character '(' at 1:189
at syntaxError (D:\coding projects\endlessAdventures\node_modules\json5\lib\parse.js:1110:17)
at invalidChar (D:\coding projects\endlessAdventures\node_modules\json5\lib\parse.js:1055:12)
at Object.value (D:\coding projects\endlessAdventures\node_modules\json5\lib\parse.js:309:15)
at lex (D:\coding projects\endlessAdventures\node_modules\json5\lib\parse.js:100:42)
at Object.parse (D:\coding projects\endlessAdventures\node_modules\json5\lib\parse.js:25:17)
at loopInsideModule (D:\coding projects\endlessAdventures\node_modules@compodoc\compodoc\dist\index.js:6580:63)
at loopRoutesParser (D:\coding projects\endlessAdventures\node_modules@compodoc\compodoc\dist\index.js:6613:29)
at loopRoutesParser (D:\coding projects\endlessAdventures\node_modules@compodoc\compodoc\dist\index.js:6624:21)
at RouterParserUtil.constructRoutesTree (D:\coding projects\endlessAdventures\node_modules@compodoc\compodoc\dist\index.js:6628:9)
at AngularDependencies.getDependencies (D:\coding projects\endlessAdventures\node_modules@compodoc\compodoc\dist\index.js:9977:50) {
lineNumber: 1,
columnNumber: 189
}

@astrutz
Copy link
Contributor

astrutz commented Feb 15, 2024

@meibyhernandez have a look at or feel free to open an ordinary bug issue

npx compodoc -p tsconfig.json --disableDependencies --minimal

@Leanne251
Copy link

I also have this issue.
I have tried this command:
npx compodoc -p tsconfig.json --disableDependencies --minimal

And it generates most of the docs, but doesn't have the flow diagrams, which is the most important and useful thing for me.
I want to see the relationships easier between the components. Any suggestions please?

@vogloblinsky
Copy link
Contributor

@meibyhernandez What kind of routing files do you have ?

@vogloblinsky vogloblinsky changed the title Trying to run compo, generates this error [BUG] Trying to run compo, generates this error Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants