This does not occur in 2.1.0-dev.20160713. Possibly related to #9713 or #9704.
TypeScript Version: nightly (2.1.0-dev.20160714)
Code
Expected behavior:
message TS6071: Successfully created a tsconfig.json file.
Actual behavior:
/home/seikho/node_modules/typescript/lib/tsc.js:36554
output += category + " TS" + diagnostic.code + ": " + flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine()) + host.getNewLine();
^
TypeError: Cannot read property 'getNewLine' of undefined
at Object.formatDiagnostics (/home/seikho/node_modules/typescript/lib/tsc.js:36554:124)
at reportDiagnosticSimply (/home/seikho/node_modules/typescript/lib/tsc.js:38582:25)
at writeConfigFile (/home/carl/npm/global/lib/node_modules/typescript/lib/tsc.js:39090:13)
at Object.executeCommandLine (/home/seikho/node_modules/typescript/lib/tsc.js:38711:13)
at Object.<anonymous> (/home/carl/npm/global/lib/node_modules/typescript/lib/tsc.js:39131:4)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
This does not occur in
2.1.0-dev.20160713. Possibly related to #9713 or #9704.TypeScript Version: nightly (2.1.0-dev.20160714)
Code
Expected behavior:
message TS6071: Successfully created a tsconfig.json file.Actual behavior: