I get this error, if the user has listed non-existing files in tsconfig.json.
Maybe you could catch those files.
ArcticTypescript: error : typescript-tools error:
C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:190
seenNoDefaultLib = seenNoDefaultLib || source.hasNoDefaultLib;
^
TypeError: Cannot read property 'hasNoDefaultLib' of undefined
at C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:190:58
at Array.forEach (native)
at TSS.setup (C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:188:24)
at Object.<anonymous> (C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:600:5)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
I get this error, if the user has listed non-existing files in tsconfig.json. Maybe you could catch those files.