Skip to content

[BUG] SyntaxError: JSON5: invalid character '(' at 1:1 #1287

Closed

Description

@paolagodoy

Hi I´m not available to run compodoc

Unhandled Rejection at: Promise {
SyntaxError: JSON5: invalid character '(' at 1:1
at syntaxError (//node_modules/json5/lib/parse.js:1083:17)
at invalidChar (//node_modules/json5/lib/parse.js:1028:12)
at Object.value (//node_modules/json5/lib/parse.js:287:15)
at lex (//node_modules/json5/lib/parse.js:78:42)
at Object.parse (//node_modules/json5/lib/parse.js:25:17)
at loopModulesParser (//node_modules/@compodoc/compodoc/dist/index-cli-f7393cac.js:6225:51)
at RouterParserUtil.constructRoutesTree (//node_modules/@compodoc/compodoc/dist/index-cli-f7393cac.js:6250:13)
at AngularDependencies.getDependencies (//node_modules/@compodoc/compodoc/dist/index-cli-f7393cac.js:9494:50)
at CliApplication.Application.getDependenciesData (//node_modules/@compodoc/compodoc/dist/index-cli-f7393cac.js:11176:40)
at //node_modules/@compodoc/compodoc/dist/index-cli-f7393cac.js:10985:23 {
lineNumber: 1,
columnNumber: 1
}
} reason: SyntaxError: JSON5: invalid character '(' at 1:1
at syntaxError (//node_modules/json5/lib/parse.js:1083:17)
at invalidChar (//node_modules/json5/lib/parse.js:1028:12)
at Object.value (//node_modules/json5/lib/parse.js:287:15)
at lex (//node_modules/json5/lib/parse.js:78:42)
at Object.parse (//node_modules/json5/lib/parse.js:25:17)
at loopModulesParser (//node_modules/@compodoc/compodoc/dist/index-cli-f7393cac.js:6225:51)
at RouterParserUtil.constructRoutesTree (//node_modules/@compodoc/compodoc/dist/index-cli-f7393cac.js:6250:13)
at AngularDependencies.getDependencies (//node_modules/@compodoc/compodoc/dist/index-cli-f7393cac.js:9494:50)
at CliApplication.Application.getDependenciesData (//node_modules/@compodoc/compodoc/dist/index-cli-f7393cac.js:11176:40)
at //node_modules/@compodoc/compodoc/dist/index-cli-f7393cac.js:10985:23 {
lineNumber: 1,
columnNumber: 1
}
[16:31:09] Sorry, but there was a problem during parsing or generation of the documentation. Please fill an issue on github. (https://github.com/compodoc/compodoc/issues/new)

Activity

  1. stale commented on Nov 13, 2022

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  2. changed the title [-] SyntaxError: JSON5: invalid character '(' at 1:1[/-] [+][BUG] SyntaxError: JSON5: invalid character '(' at 1:1[/+] on May 20, 2023
  3. added a commit that references this issue on May 24, 2026
    1af3029
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions