Skip to content

AST Docs line preventing completion #406

@ghost

Description

Make sure these boxes are checked before submitting your issue - thank you!
(If your issue is neither a both bug nor a request, please write in a free style)

Short summary of your issue

When I run a build, I end up with the following error. However if I comment out line publish.js:152
Everything works as expected. I don't need AST Docs, just HTML. But this is throwing an error keeping me from completion.

ERROR LOG BELOW

Input data for reproducing

Configuration

{
  title: "My Title",
  coverage: true,
  includeSource: true,
  builtinExternal: true,
  autoPrivate: true,
  unexportIdentifier: false,
  undocumentIdentifier: true,
  source: null,
  destination: "./src/build/docs",
  lint: true,
  experimentalProposal: {
    classProperties: true,
    objectRestSpread: true,
    decorators: true,
    doExpressions: true,
    functionBind: true,
    asyncGenerators: true,
    exportExtensions: true,
    dynamicImport: true
  }
}

Codes

// write into here

Output data

Log

RangeError: Invalid string length
    at join (native)
    at Object.stringify (native)
    at ASTDocBuilder.exec (/usr/src/app/node_modules/esdoc/out/src/Publisher/Builder/ASTDocBuilder.js:34:25)
    at publish (/usr/src/app/node_modules/esdoc/out/src/Publisher/publish.js:152:51)
    at Function.generate (/usr/src/app/node_modules/esdoc/out/src/ESDoc.js:137:7)
    at DestroyableTransform.flush [as _flush] (/usr/src/app/node_modules/gulp-esdoc/index.js:42:11)
    at DestroyableTransform.<anonymous> (/usr/src/app/node_modules/readable-stream/lib/_stream_transform.js:115:49)
    at DestroyableTransform.g (events.js:291:16)
    at emitNone (events.js:86:13)
    at DestroyableTransform.emit (events.js:185:7)

Screen shot of documentation

// attach a image into here

Exception output (if possible)

Log

// write into here

Screen shot of documentation

// attach a image into here

Your environment

  • OS type and version: DOCKER->Node->6.10.0
  • Node.js version: 6.10.0
  • ESDoc version: latest:0.5.2

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