-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
- start tsc in watch mode
- change the tsconfig.json to be invalid JSON
You get:
C:\Users\dirkb\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:31084
var jsonOptions = json["compilerOptions"];
^
TypeError: Cannot read property 'compilerOptions' of undefined
at getCompilerOptions (C:\Users\dirkb\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:31084:35)
at Object.parseJsonConfigFileContent (C:\Users\dirkb\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:31074:22)
at parseConfigFile (C:\Users\dirkb\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:31351:40)
at performCompilation (C:\Users\dirkb\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:31362:45)
at recompile [as _onTimeout] (C:\Users\dirkb\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:31454:13)
at Timer.listOnTimeout (timers.js:92:15)
TheBizzle
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue