|
amd sample does not compile. how to fix this?
sto@hive:~/workspace/d3/samples/amd$ tsc --module amd app.ts
node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^TypeError: Object #<Object> has no method 'existsSync' at Object.findFile (/usr/local/lib/node_modules/typescript/bin/tsc.js:21182:28)
at CodeResolver.resolveCode (/usr/local/lib/node_modules/typescript/bin/tsc.js:19700:43) at CodeResolver.resolveCode (/usr/local/lib/node_modules/typescript/bin/tsc.js:19743:30) at CommandLineHost.resolveCompilationEnvironment
(/usr/local/lib/node_modules/typescript/bin/tsc.js:21492:22) at BatchCompiler.resolve (/usr/local/lib/node_modules/typescript/bin/tsc.js:21508:40) at BatchCompiler.batchCompile (/usr/local/lib/node_modules/typescript/bin/tsc.js:21854:76)
at Object.<anonymous> (/usr/local/lib/node_modules/typescript/bin/tsc.js:21891:7) at Module._compile (module.js:441:26) at Object..js (module.js:459:10) at Module.load (module.js:348:32)
|