-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Labels
ExternalRelates to another program, environment, or user action which we cannot control.Relates to another program, environment, or user action which we cannot control.
Description
TypeScript Version: 2.3.1
Note: This does not occur in 2.3.0
Code
I've been unable to isolate what is causing this in our code base
Actual behavior:
Module build failed: TypeError: Cannot read property 'flags' of undefined
at Object.isExternalModuleSymbol (/project/node_modules/typescript/lib/typescript.js:70969:40)
at getExportInfo (/project/node_modules/typescript/lib/typescript.js:74881:23)
at exportInfo (/project/node_modules/typescript/lib/typescript.js:74841:34)
at getExport (/project/node_modules/typescript/lib/typescript.js:74790:36)
at Object.getImportOrExportSymbol (/project/node_modules/typescript/lib/typescript.js:74761:53)
at getImportOrExportReferences (/project/node_modules/typescript/lib/typescript.js:75618:56)
at getReferencesAtLocation (/project/node_modules/typescript/lib/typescript.js:75559:17)
at getReferencesInContainer (/project/node_modules/typescript/lib/typescript.js:75513:21)
at getReferencedSymbolsForSymbol (/project/node_modules/typescript/lib/typescript.js:75213:21)
at Object.getReferencedSymbolsForNode (/project/node_modules/typescript/lib/typescript.js:75172:24)
at Object.getReferenceEntriesForNode (/project/node_modules/typescript/lib/typescript.js:74988:58)
at getSemanticDocumentHighlights (/project/node_modules/typescript/lib/typescript.js:73804:57)
at Object.getDocumentHighlights (/project/node_modules/typescript/lib/typescript.js:73791:29)
at Object.getDocumentHighlights (/project/node_modules/typescript/lib/typescript.js:86205:42)
at NoUseBeforeDeclareWalker.validateUsageForVariable (/project/node_modules/tslint/lib/rules/noUseBeforeDeclareRule.js:113:47)
at NoUseBeforeDeclareWalker.visitNamedImports (/project/node_modules/tslint/lib/rules/noUseBeforeDeclareRule.js:92:18)
at NoUseBeforeDeclareWalker.SyntaxWalker.visitNode (/project/node_modules/tslint/lib/language/walker/syntaxWalker.js:421:22)
at NoUseBeforeDeclareWalker.ScopeAwareRuleWalker.visitNode (/project/node_modules/tslint/lib/language/walker/scopeAwareRuleWalker.js:58:36)
at /project/node_modules/tslint/lib/language/walker/syntaxWalker.js:523:63
at visitNode (/project/node_modules/typescript/lib/typescript.js:14712:20)
at Object.forEachChild (/project/node_modules/typescript/lib/typescript.js:15010:21)
at NoUseBeforeDeclareWalker.SyntaxWalker.walkChildren (/project/node_modules/tslint/lib/language/walker/syntaxWalker.js:523:12)
at NoUseBeforeDeclareWalker.SyntaxWalker.visitNode (/project/node_modules/tslint/lib/language/walker/syntaxWalker.js:517:22)
at NoUseBeforeDeclareWalker.ScopeAwareRuleWalker.visitNode (/project/node_modules/tslint/lib/language/walker/scopeAwareRuleWalker.js:58:36)
at /project/node_modules/tslint/lib/language/walker/syntaxWalker.js:523:63
at visitNode (/project/node_modules/typescript/lib/typescript.js:14712:20)
at Object.forEachChild (/project/node_modules/typescript/lib/typescript.js:15006:21)
at NoUseBeforeDeclareWalker.SyntaxWalker.walkChildren (/project/node_modules/tslint/lib/language/walker/syntaxWalker.js:523:12)
at NoUseBeforeDeclareWalker.SyntaxWalker.visitImportDeclaration (/project/node_modules/tslint/lib/language/walker/syntaxWalker.js:137:14)
at NoUseBeforeDeclareWalker.visitImportDeclaration (/project/node_modules/tslint/lib/rules/noUseBeforeDeclareRule.js:79:49)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ExternalRelates to another program, environment, or user action which we cannot control.Relates to another program, environment, or user action which we cannot control.