Skip to content

TypeError: Cannot read property 'kind' of undefined in vscode build #36614

Closed
@JacksonKearl

Description

@JacksonKearl

Branch up at https://github.com/microsoft/vscode/tree/jackson/ts-build-error

When I run the typescript build, it crashes with the below error:

TypeError: Cannot read property 'kind' of undefined
    at getErrorSpanForNode (/Users/jkearl/Developer/vscode/node_modules/typescript/lib/typescript.js:13429:22)
    at createDiagnosticForNodeInSourceFile (/Users/jkearl/Developer/vscode/node_modules/typescript/lib/typescript.js:13389:20)
    at Object.createDiagnosticForNode (/Users/jkearl/Developer/vscode/node_modules/typescript/lib/typescript.js:13380:16)
    at reportNonExportedMember (/Users/jkearl/Developer/vscode/node_modules/typescript/lib/typescript.js:36179:50)
    at getExternalModuleMember (/Users/jkearl/Developer/vscode/node_modules/typescript/lib/typescript.js:36160:33)
    at getTargetOfImportSpecifier (/Users/jkearl/Developer/vscode/node_modules/typescript/lib/typescript.js:36187:20)
    at getTargetOfAliasDeclaration (/Users/jkearl/Developer/vscode/node_modules/typescript/lib/typescript.js:36238:28)
    at resolveAlias (/Users/jkearl/Developer/vscode/node_modules/typescript/lib/typescript.js:36277:30)
    at checkAliasSymbol (/Users/jkearl/Developer/vscode/node_modules/typescript/lib/typescript.js:64208:26)
    at checkImportBinding (/Users/jkearl/Developer/vscode/node_modules/typescript/lib/typescript.js:64240:13)

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions