clausreinke / typescript-tools

(repo no longer active) Tools related to the TypeScript language
Apache License 2.0
266 stars 29 forks source link

Error if non-existing files are listed in tsconfig.json #55

Open Phaiax opened 9 years ago

Phaiax commented 9 years ago

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)