Closed
Description
I'm trying to compile an existing codebase and getting an error message with no useful context at all and which doesn't reference any of my code. Any pointers here?
Using tsc v1.8.10
/usr/lib64/extrahop_node_modules/node_modules/typescript/lib/tsc.js:33078
throw e;
^
TypeError: Cannot read property 'id' of undefined
at getNodeId (/usr/lib64/extrahop_node_modules/node_modules/typescript/lib/tsc.js:11646:18)
at getNodeLinks (/usr/lib64/extrahop_node_modules/node_modules/typescript/lib/tsc.js:12007:26)
at checkExpressionCached (/usr/lib64/extrahop_node_modules/node_modules/typescript/lib/tsc.js:20308:25)
at /usr/lib64/extrahop_node_modules/node_modules/typescript/lib/tsc.js:13842:107
at Object.map (/usr/lib64/extrahop_node_modules/node_modules/typescript/lib/tsc.js:163:29)
at getTypeOfVariableOrParameterOrProperty (/usr/lib64/extrahop_node_modules/node_modules/typescript/lib/tsc.js:13842:57)
at getTypeOfSymbol (/usr/lib64/extrahop_node_modules/node_modules/typescript/lib/tsc.js:13958:24)
at writeLiteralType (/usr/lib64/extrahop_node_modules/node_modules/typescript/lib/tsc.js:13281:33)
at writeAnonymousType (/usr/lib64/extrahop_node_modules/node_modules/typescript/lib/tsc.js:13176:25)
at writeType (/usr/lib64/extrahop_node_modules/node_modules/typescript/lib/tsc.js:13064:25)