문제

I just tried to compile a 0.9 ts project with the ts 1.0 exe but get this when my file watcher is run:

"C:/Program Files (x86)/Microsoft SDKs/TypeScript/tsc.exe" --sourcemap Common.ts --module tsc.js(55958, 21) Microsoft JScript runtime error: Unable to get value of the property 'toLowerCase': object is null or undefined

The exe is defined where the visual studio plugin installed it, maybe I need to use the node one instead? but when I point the file watcher to the node version is complains that its not an .exe

도움이 되었습니까?

해결책

You are using the --module flag but not specifying a module type (hence undefined). Use --module commonjs

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top