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

Default example from master branch doesn't work on my computer #25

Open brbulic opened 10 years ago

brbulic commented 10 years ago

Mac OS X Mavericks 10.9.2 Java 7u55 Typescript compiler 1.0.0.0 installed via npm

I went to the sample project, did play run and upon loading the localhost:9000 it returned an error.

Compilation error TypeScript compiler: Capturing the output of the command tsc --module amd --sourcemap --outDir /var/folders/yl/0mfnhxb90_3cffz73ctbnphr0000gn/T/1397833144644-1 /Users/brbulic/Development/Personal/play2-typescript/sample/app/assets/javascripts/greeter2.ts:/Users/brbulic/Development/Personal/play2-typescript/sample/app/assets/javascripts/greeter2.ts(2,24): error TS1005: ';' expected.

Note that this is the default, I did no changes to build.sbt or the code itself.