[BUG] TypeError: Cannot read property 'text' of undefined
See original GitHub issueHi! executing this command to generate doc => compodoc -p tsconfig.json -s
TypeScript version used by Compodoc : 2.9.1 Node.js version : v12.14.1 Operating system : Windows 10
[15:50:56] Analysing routes definitions and clean them if necessary Unhandled Rejection at: Promise { <rejected> TypeError: Cannot read property 'text' of undefined at C:\Users\xxxxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\dist\application-54cd2170.js:5691:55 at Function.ArrayUtils.find (C:\Users\xxxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\node_modules\ts-simple-ast\dist\utils\ArrayUtils.js:38:21) at Object.getNodeByNameOrFindFunction (C:\Users\xxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\node_modules\ts-simple-ast\dist\utils\compiler\getNodeByNameOrFindFunction.js:10:36) at SourceFile.StatementedNode.class_1.getVariableDeclaration (C:\Users\xxxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\node_modules\ts-simple-ast\dist\compiler\statement\StatementedNode.js:312:28) at RouterParserUtil.cleanCallExpressions (C:\Users\xxxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\dist\application-54cd2170.js:5688:45) at AngularDependencies.getSourceFileDecorators (C:\Users\xxxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\dist\application-54cd2170.js:8151:46) at C:\Users\xxxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\dist\application-54cd2170.js:7960:31 at Array.map (<anonymous>) at AngularDependencies.getDependencies (C:\Users\xxxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\dist\application-54cd2170.js:7949:21) at CliApplication.Application.getDependenciesData (C:\Users\xxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\dist\application-54cd2170.js:9498:40) } reason: TypeError: Cannot read property 'text' of undefined at C:\Users\xxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\dist\application-54cd2170.js:5691:55 at Function.ArrayUtils.find (C:\Users\xxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\node_modules\ts-simple-ast\dist\utils\ArrayUtils.js:38:21) at Object.getNodeByNameOrFindFunction (C:\Users\xxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\node_modules\ts-simple-ast\dist\utils\compiler\getNodeByNameOrFindFunction.js:10:36) at SourceFile.StatementedNode.class_1.getVariableDeclaration (C:\Users\xxxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\node_modules\ts-simple-ast\dist\compiler\statement\StatementedNode.js:312:28) at RouterParserUtil.cleanCallExpressions (C:\Users\xxxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\dist\application-54cd2170.js:5688:45) at AngularDependencies.getSourceFileDecorators (C:\Users\xxxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\dist\application-54cd2170.js:8151:46) at C:\Users\xxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\dist\application-54cd2170.js:7960:31 at Array.map (<anonymous>) at AngularDependencies.getDependencies (C:\Users\xxxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\dist\application-54cd2170.js:7949:21) at CliApplication.Application.getDependenciesData (C:\Users\xxx\AppData\Roaming\npm\node_modules\@compodoc\compodoc\dist\application-54cd2170.js:9498:40) [15:50:56] 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)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top GitHub Comments
@vogloblinsky Thanks! Would it be possible to get development versions on npm? like
1.2.0-dev.XXXX
whereas X is a build number or something.Thanks so much @vogloblinsky !