Ich habe diese Ausnahme, wenn tsc von cmd Befehlszeile (Windows 7 x64) ausgeführt wird:
set tsc=c:\Program Files (x86)\nodejs\node_modules\typescript\bin
%tsc%\tsc.js foo.ts
Ich habe diese Ausnahme, wenn tsc von cmd Befehlszeile (Windows 7 x64) ausgeführt wird:
set tsc=c:\Program Files (x86)\nodejs\node_modules\typescript\bin
%tsc%\tsc.js foo.ts
Die Lösung / Abhilfe ist TSC Verwendung Knoten auszuführen:
set node="c:\Program Files (x86)\nodejs"
set tsc=%node%\node_modules\typescript\bin
%node%\node %tsc%\tsc.js foo.ts
(Es mag offensichtlich sein, aber es hat mich irgendwann zu verstehen.)