runem / web-component-analyzer

CLI that analyzes web components and emits documentation
https://runem.github.io/web-component-analyzer
MIT License
500 stars 61 forks source link

WCA is breaking with typescript v4.9.4 #263

Closed manandkumaar closed 1 year ago

manandkumaar commented 1 year ago

I got the below error in our mono-repo with TS v4.9.4. Not sure how to overcome this problem.

Package manger - YARN Workspace TS version - 4.9.4 web-component-analyzer - 2.0.0-next.4 or 1.1.6

13% building 1/16 entries 4680/4701 dependencies 14/724 modules/Users/Blocks/node_modules/web-component-analyzer/node_modules/typescript/lib/typescript.js:11490 return node.kind === 194 / PropertyAccessExpression /; ^

TypeError: Cannot read properties of undefined (reading 'kind') at Object.isPropertyAccessExpression (/Users/Blocks/node_modules/web-component-analyzer/node_modules/typescript/lib/typescript.js:11490:21)