Skip to content

Instantly share code, notes, and snippets.

@molily
Created October 15, 2021 12:24
Show Gist options
  • Save molily/3ddbaeeee8d3aad9dee028697afa0bf7 to your computer and use it in GitHub Desktop.
Save molily/3ddbaeeee8d3aad9dee028697afa0bf7 to your computer and use it in GitHub Desktop.
TypeScript stacktrace
etc, repeating
at getInitializerTypeFromAssignmentDeclaration (/usr/local/lib/node_modules/typescript/lib/tsc.js:44088:97)
at getWidenedTypeForAssignmentDeclaration (/usr/local/lib/node_modules/typescript/lib/tsc.js:43987:131)
at getTypeOfFuncClassEnumModuleWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:44509:24)
at getTypeOfFuncClassEnumModule (/usr/local/lib/node_modules/typescript/lib/tsc.js:44497:51)
at getTypeOfVariableOrParameterOrPropertyWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:44316:28)
at getTypeOfVariableOrParameterOrProperty (/usr/local/lib/node_modules/typescript/lib/tsc.js:44268:28)
at getTypeOfSymbol (/usr/local/lib/node_modules/typescript/lib/tsc.js:44608:24)
at checkIdentifier (/usr/local/lib/node_modules/typescript/lib/tsc.js:56922:24)
at checkExpressionWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:63702:28)
at checkExpression (/usr/local/lib/node_modules/typescript/lib/tsc.js:63657:38)
at checkExpressionCached (/usr/local/lib/node_modules/typescript/lib/tsc.js:63381:38)
at getInitializerTypeFromAssignmentDeclaration (/usr/local/lib/node_modules/typescript/lib/tsc.js:44088:97)
at getWidenedTypeForAssignmentDeclaration (/usr/local/lib/node_modules/typescript/lib/tsc.js:43987:131)
at getTypeOfVariableOrParameterOrPropertyWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:44327:24)
at getTypeOfVariableOrParameterOrProperty (/usr/local/lib/node_modules/typescript/lib/tsc.js:44268:28)
at getTypeOfSymbol (/usr/local/lib/node_modules/typescript/lib/tsc.js:44608:24)
at getInitializerTypeFromAssignmentDeclaration (/usr/local/lib/node_modules/typescript/lib/tsc.js:44088:41)
at getWidenedTypeForAssignmentDeclaration (/usr/local/lib/node_modules/typescript/lib/tsc.js:43987:131)
at getTypeOfFuncClassEnumModuleWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:44518:34)
at getTypeOfFuncClassEnumModule (/usr/local/lib/node_modules/typescript/lib/tsc.js:44497:51)
at getTypeOfSymbol (/usr/local/lib/node_modules/typescript/lib/tsc.js:44611:24)
at tryGetThisTypeAt (/usr/local/lib/node_modules/typescript/lib/tsc.js:57191:42)
at checkThisExpression (/usr/local/lib/node_modules/typescript/lib/tsc.js:57141:24)
at checkExpressionWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:63704:28)
at checkExpression (/usr/local/lib/node_modules/typescript/lib/tsc.js:63657:38)
at checkNonNullExpression (/usr/local/lib/node_modules/typescript/lib/tsc.js:59167:37)
at checkPropertyAccessExpression (/usr/local/lib/node_modules/typescript/lib/tsc.js:59212:85)
at checkExpressionWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:63734:28)
at checkExpression (/usr/local/lib/node_modules/typescript/lib/tsc.js:63657:38)
at maybeCheckExpression (/usr/local/lib/node_modules/typescript/lib/tsc.js:62900:38)
at BinaryExpressionStateMachine.onLeft (/usr/local/lib/node_modules/typescript/lib/tsc.js:62850:28)
at Array.left (/usr/local/lib/node_modules/typescript/lib/tsc.js:23561:36)
at trampoline (/usr/local/lib/node_modules/typescript/lib/tsc.js:23666:52)
at /usr/local/lib/node_modules/typescript/lib/tsc.js:62815:30
at checkExpressionWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:63774:28)
at checkExpression (/usr/local/lib/node_modules/typescript/lib/tsc.js:63657:38)
at checkExpressionStatement (/usr/local/lib/node_modules/typescript/lib/tsc.js:65919:13)
at checkSourceElementWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:68290:28)
at checkSourceElement (/usr/local/lib/node_modules/typescript/lib/tsc.js:68165:17)
at checkIfStatement (/usr/local/lib/node_modules/typescript/lib/tsc.js:65925:13)
at checkSourceElementWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:68292:28)
at checkSourceElement (/usr/local/lib/node_modules/typescript/lib/tsc.js:68165:17)
at Object.forEach (/usr/local/lib/node_modules/typescript/lib/tsc.js:132:30)
at checkSourceFileWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:68489:20)
at checkSourceFile (/usr/local/lib/node_modules/typescript/lib/tsc.js:68457:13)
at getDiagnosticsWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:68543:17)
at Object.getDiagnostics (/usr/local/lib/node_modules/typescript/lib/tsc.js:68532:24)
at /usr/local/lib/node_modules/typescript/lib/tsc.js:92677:85
at runWithCancellationToken (/usr/local/lib/node_modules/typescript/lib/tsc.js:92649:24)
at getBindAndCheckDiagnosticsForFileNoCache (/usr/local/lib/node_modules/typescript/lib/tsc.js:92666:20)
at getAndCacheDiagnostics (/usr/local/lib/node_modules/typescript/lib/tsc.js:92914:26)
at getBindAndCheckDiagnosticsForFile (/usr/local/lib/node_modules/typescript/lib/tsc.js:92663:20)
at getSemanticDiagnosticsForFile (/usr/local/lib/node_modules/typescript/lib/tsc.js:92660:61)
at /usr/local/lib/node_modules/typescript/lib/tsc.js:92600:24
at Object.flatMap (/usr/local/lib/node_modules/typescript/lib/tsc.js:428:25)
at getDiagnosticsHelper (/usr/local/lib/node_modules/typescript/lib/tsc.js:92596:56)
at Object.getSemanticDiagnostics (/usr/local/lib/node_modules/typescript/lib/tsc.js:92607:20)
at handleNoEmitOptions (/usr/local/lib/node_modules/typescript/lib/tsc.js:94231:21)
at emitWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:92575:30)
at /usr/local/lib/node_modules/typescript/lib/tsc.js:92566:72
at runWithCancellationToken (/usr/local/lib/node_modules/typescript/lib/tsc.js:92649:24)
at Object.emit (/usr/local/lib/node_modules/typescript/lib/tsc.js:92566:26)
at emitFilesAndReportErrors (/usr/local/lib/node_modules/typescript/lib/tsc.js:97113:23)
at Object.emitFilesAndReportErrorsAndGetExitStatus (/usr/local/lib/node_modules/typescript/lib/tsc.js:97136:18)
at performCompilation (/usr/local/lib/node_modules/typescript/lib/tsc.js:100015:29)
at executeCommandLineWorker (/usr/local/lib/node_modules/typescript/lib/tsc.js:99899:17)
at Object.executeCommandLine (/usr/local/lib/node_modules/typescript/lib/tsc.js:99944:20)
at Object.<anonymous> (/usr/local/lib/node_modules/typescript/lib/tsc.js:100232:4)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object.<anonymous> (/usr/local/lib/node_modules/typescript/bin/tsc:2:1)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
at internal/main/run_main_module.js:17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment