question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] TypeError: Cannot read property 'text' of undefined

See original GitHub issue

Hi! 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ManuelRaubercommented, Jul 1, 2021

@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.

0reactions
parkerswebcommented, Jul 16, 2021

Thanks so much @vogloblinsky !

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR in : TypeError: Cannot read property 'text' of ... - GitHub
Hard to say, since the error seems deep into the typescript stack. Assuming you have a similar error stack to the one shown...
Read more >
Error: Cannot read property 'text' of undefined - Stack Overflow
text is referred to-- either $("headingWiki_0 h3 span") isn't returning anything or your data return from the $.getJson doesn't contain a parse ...
Read more >
TypeError: Cannot read property 'text' of undefined - General
I am getting a function error. I have narrowed it down to something related to the 'cli' variable. When I look at the...
Read more >
Cannot read property 'text' of undefined | Jira
When opening the "Work" mode in a Rapid Board, the following error appears on ... Exception: Uncaught TypeError: Cannot read property 'text' of...
Read more >
JS error. Cannot read property 'text' of undefined...unsure what
The error means that quiz.getCurrentQuestion() returns undefined, so take a look at your implementation of that method. If you cannot see the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found