You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error while generating docs. Not sure what is causing this. Any help is greatly appreciated.
Unhandled Rejection at: Promise {
TypeError: Cannot read property 'concat' of undefined
at Path/node_modules/@compodoc/compodoc/dist/index-cli.js:3533:71
at Array.forEach ()
at ExtendsMerger.merge (Path/node_modules/@compodoc/compodoc/dist/index-cli.js:3513:25)
at Dependencies.getDependencies (Path/node_modules/@compodoc/compodoc/dist/index-cli.js:5487:35)
at CliApplication.Application.getDependenciesData (Path/node_modules/@compodoc/compodoc/dist/index-cli.js:7079:40)
at Path/node_modules/@compodoc/compodoc/dist/index-cli.js:6924:23
at } reason: TypeError: Cannot read property 'concat' of undefined
at Path/node_modules/@compodoc/compodoc/dist/index-cli.js:3533:71
at Array.forEach ()
at ExtendsMerger.merge (Path/node_modules/@compodoc/compodoc/dist/index-cli.js:3513:25)
at Dependencies.getDependencies (Path/node_modules/@compodoc/compodoc/dist/index-cli.js:5487:35)
at CliApplication.Application.getDependenciesData (Path/node_modules/@compodoc/compodoc/dist/index-cli.js:7079:40)
at Path/node_modules/@compodoc/compodoc/dist/index-cli.js:6924:23
at
[13:13:39] 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)
@codeNoobie Fixed by enforcing extends-merger.util
If you have an example of your code with a component extending somthing, or a class extending anothe rthing, it could be nice to add more unit testing on this.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.
lockbot
locked as resolved and limited conversation to collaborators
Sep 30, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[BUG]
Overview of the issue
I am getting this error while generating docs. Not sure what is causing this. Any help is greatly appreciated.
Unhandled Rejection at: Promise {
TypeError: Cannot read property 'concat' of undefined
at Path/node_modules/@compodoc/compodoc/dist/index-cli.js:3533:71
at Array.forEach ()
at ExtendsMerger.merge (Path/node_modules/@compodoc/compodoc/dist/index-cli.js:3513:25)
at Dependencies.getDependencies (Path/node_modules/@compodoc/compodoc/dist/index-cli.js:5487:35)
at CliApplication.Application.getDependenciesData (Path/node_modules/@compodoc/compodoc/dist/index-cli.js:7079:40)
at Path/node_modules/@compodoc/compodoc/dist/index-cli.js:6924:23
at } reason: TypeError: Cannot read property 'concat' of undefined
at Path/node_modules/@compodoc/compodoc/dist/index-cli.js:3533:71
at Array.forEach ()
at ExtendsMerger.merge (Path/node_modules/@compodoc/compodoc/dist/index-cli.js:3513:25)
at Dependencies.getDependencies (Path/node_modules/@compodoc/compodoc/dist/index-cli.js:5487:35)
at CliApplication.Application.getDependenciesData (Path/node_modules/@compodoc/compodoc/dist/index-cli.js:7079:40)
at Path/node_modules/@compodoc/compodoc/dist/index-cli.js:6924:23
at
[13:13:39] 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)
Operating System, Node.js, npm, compodoc version(s)
node -v
v9.8.0
npm -v
5.6.0
compodoc -V
1.1.2
macOS High Sierra
Angular configuration, a
package.json
file in the root folderI am using Yarn workspaces. The compodoc works well with one of the workspace. But it fails for another.
Compodoc installed globally or locally ?
Locally.
Motivation for or Use Case
Generating documentation for packages in my mono repo. Please note that compodoc works for one package but fails for another with the above exception.
It did not generate the documentation.
Reproduce the error
It failed when i ran ./node_modules/.bin/compodoc -p src/tsconfig.distro.json
Related issues
Suggest a Fix
The text was updated successfully, but these errors were encountered: