Skip to content

Error: Debug Failure (tsc.js:1296) #29875

@GordonSmith

Description

@GordonSmith

TypeScript Version: 3.3.3

Search Terms:
build
watch
crash
Code
tsc --build --watch is crashing occasionally (I have not been able to spot a pattern) - just editing and saving files (with and without errors):

C:\Users\gordon\git\hpcc-js\node_modules\typescript\lib\tsc.js:1296
            throw e;
            ^

Error: Debug Failure.
    at Object.assertDefined (C:\Users\gordon\git\hpcc-js\node_modules\typescript\lib\tsc.js:1301:24)
    at C:\Users\gordon\git\hpcc-js\node_modules\typescript\lib\tsc.js:11765:89
    at String.replace (<anonymous>)
    at formatStringFromArgs (C:\Users\gordon\git\hpcc-js\node_modules\typescript\lib\tsc.js:11765:21)
    at createCompilerDiagnostic (C:\Users\gordon\git\hpcc-js\node_modules\typescript\lib\tsc.js:11805:20)
    at reportStatus (C:\Users\gordon\git\hpcc-js\node_modules\typescript\lib\tsc.js:75365:74)
    at formatUpToDateStatus (C:\Users\gordon\git\hpcc-js\node_modules\typescript\lib\tsc.js:76072:24)
    at verboseReportProjectStatus (C:\Users\gordon\git\hpcc-js\node_modules\typescript\lib\tsc.js:76029:20)
    at buildSingleInvalidatedProject (C:\Users\gordon\git\hpcc-js\node_modules\typescript\lib\tsc.js:75702:13)
    at Timeout.buildInvalidatedProject [as _onTimeout] (C:\Users\gordon\git\hpcc-js\node_modules\typescript\lib\tsc.js:75656:17)
The terminal process terminated with exit code: 1

Expected behavior:
No crash and burn

Actual behavior:
watch process terminates

Playground Link:

Related Issues:

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions