Skip to content

Debug failure at resolveExternalModule after allowArbitraryExtensions #52182

Closed
@jakebailey

Description

@jakebailey

As of 89e928e (#51435), the perf runner is Debug asserting: https://typescript.visualstudio.com/TypeScript/_build/results?buildId=142178&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b

>> /home/setup/vsts-agent/_work/7/s/built/local/tsc.js:109755
>>       throw e;
>>       ^
>> 
>> Error: Debug Failure.
>>     at resolveExternalModule (/home/setup/vsts-agent/_work/7/s/built/local/tsc.js:44740:35)
>>     at resolveExternalModuleNameWorker (/home/setup/vsts-agent/_work/7/s/built/local/tsc.js:44702:61)
>>     at resolveExternalModuleName (/home/setup/vsts-agent/_work/7/s/built/local/tsc.js:44699:12)
>>     at checkImportDeclaration (/home/setup/vsts-agent/_work/7/s/built/local/tsc.js:76954:35)
>>     at checkSourceElementWorker (/home/setup/vsts-agent/_work/7/s/built/local/tsc.js:77425:16)
>>     at checkSourceElement (/home/setup/vsts-agent/_work/7/s/built/local/tsc.js:77244:7)
>>     at forEach (/home/setup/vsts-agent/_work/7/s/built/local/tsc.js:37:22)
>>     at checkSourceFileWorker (/home/setup/vsts-agent/_work/7/s/built/local/tsc.js:77608:7)
>>     at checkSourceFile (/home/setup/vsts-agent/_work/7/s/built/local/tsc.js:77575:5)
>>     at checkSourceFileWithEagerDiagnostics (/home/setup/vsts-agent/_work/7/s/built/local/tsc.js:77669:5

This seems to be carried through to PRs too (like https://typescript.visualstudio.com/TypeScript/_build/results?buildId=142192&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b&t=fb1961db-d514-5215-fe81-a42cdc309f86 😢)

cc @weswigham

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScript

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions