mumoshu / play2-typescript

TypeScript assets handling for Play 2.0. Compiles .ts files under the /assets dir along with the project.
Other
74 stars 14 forks source link

compilation error #13

Closed khomyakov42 closed 6 years ago

khomyakov42 commented 11 years ago

Play 2 compiler : C:\mindscope\app\assets\javascripts\greeter.ts:0: Compilation error[TypeScript compiler: tsc.js(23862, 29) Microsoft JScript runtime error: ?? ??????? ???????? ????.] function greeter(person) { ^ (*:play-copy-assets) @6di8jm1gf: Compilation error in C:\mindscope\app\assets\javascripts\greeter.ts:0 (compile:resources) @6di8jm1gf: Compilation error in C:\mindscope\app\assets\javascripts\greeter.ts:0 Total time: 2 s, completed 12.03.2013 9:22:05

the command "cmd /C tsc --module amd --out C:\o.js C:\mindscope\app\assets\javasсripts\greeter.ts" hand it works If I specify an output folder to get a Microsoft JScript runtime error:?? ??? ??? ??.

mumoshu commented 11 years ago

Hi,

Thanks for the report! I will investigate it.

mumoshu commented 11 years ago

Hi,

I have tested for compiling ts files with my project, on my Windows 8 machine, JDK7, Play 2.1, play2-typescript 0.2-RC4. It worked without the problem you mentioned.

Would you mind sending me more more information?

Thanks!

khomyakov42 commented 11 years ago

i use windows 7 x86 jdk-7 yes

mumoshu commented 11 years ago

Hi,

Did you install the TypeScript compiler for Visual Studio? If so, can you please uninstall it and then try play2-typescript again?