-
Notifications
You must be signed in to change notification settings - Fork 10
Getting error "TypeError: Cannot read property 'items' of undefined" #63
Comments
Same issue here. |
Just for better debugging here's a copy of my json which couldn't be parsed (I had to rename to |
I have the same issue. |
Same issue here. |
Did anyone figure out a fix for this? I'm running into a similar problem. |
I'm still having the same issue as well |
Same issue for me to. |
@hadiamiri could you tell me which version of docfx your use? |
same problem here. This is where everything is ignored: https://github.com/docascode/type2docfx/blob/v0.10.5/src/parser.ts#L60 @yunair I use typedoc 0.21.5, type2docfx 0.11.2, and docfx 2.58.0 (btw: why is the docfx version interesting?) I also don't understand why type2docfx's latest version is 0.11.2 on npmjs.org and the latest version in this repo seems to be 0.10.5. |
possibly related: TypeStrong/typedoc#888 |
As noted in TypeStrong/typedoc#888 ,
See also the release notes https://github.com/TypeStrong/typedoc/releases/tag/v0.20.0 :
So ignoring nodes without this flag set to |
Because when you use docfx V2, the corresponding version of type2docfx is 0.10.X. |
The latest version of typedoc that type2docfx support is 0.15 so if you use docfx V2, you need to install |
thanks for the information! |
I am using this library with TypeDoc 0.20.26, I get the
json
output by setting"json": "json-doc"
inside mytsconfig.json
file and output is generated. But when I want to use it by entering following command to get the yaml output, I get the error that follows:type2docfx json-doc.json yaml-dir
type2docfx version: v0.11.2
The text was updated successfully, but these errors were encountered: