joaompneves / tsviz

Typescript UML Visualizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

throw new Error(typeof element + " not supported in " + typeof this)

llnagy opened this issue · comments

Trying to run this on vscode src and getting error
https://github.com/Microsoft/vscode

F:\git\vscode>tsviz -r -d src\ UML.png
C:\Users\llnagy\AppData\Roaming\npm\node_modules\tsviz\bin\ts-elements.js:78
throw new Error(typeof element + " not supported in " + typeof this);
^

Error: object not supported in object
at Module.Element.getElementCollection (C:\Users\llnagy\AppData\Roaming\npm\node_modules\tsviz\bin\ts-elements.js:78
:15)
at Module.getElementCollection (C:\Users\llnagy\AppData\Roaming\npm\node_modules\tsviz\bin\ts-elements.js:141:54)
at Module.Element.addElement (C:\Users\llnagy\AppData\Roaming\npm\node_modules\tsviz\bin\ts-elements.js:75:14)
at analyseNode (C:\Users\llnagy\AppData\Roaming\npm\node_modules\tsviz\bin\ts-analyser.js:65:28)
at C:\Users\llnagy\AppData\Roaming\npm\node_modules\tsviz\bin\ts-analyser.js:70:56
at visitEachNode (C:\Users\llnagy\AppData\Roaming\npm\node_modules\tsviz\node_modules\typescript\lib\typescript.js:7
255:30)
at Object.forEachChild (C:\Users\llnagy\AppData\Roaming\npm\node_modules\tsviz\node_modules\typescript\lib\typescrip
t.js:7484:21)
at analyseNode (C:\Users\llnagy\AppData\Roaming\npm\node_modules\tsviz\bin\ts-analyser.js:70:12)
at C:\Users\llnagy\AppData\Roaming\npm\node_modules\tsviz\bin\ts-analyser.js:70:56
at visitNode (C:\Users\llnagy\AppData\Roaming\npm\node_modules\tsviz\node_modules\typescript\lib\typescript.js:7243:
20)