unable to use typeScript with javascript

First of all, please excuse me, I am using a demo version of WebStorm 6.0 and I am a beginner with this product.
I have a Macintosh with OSX 10.8.2
I have install Node.js + typeScript …

When I type a typeScript listing, I have this script error in run output

/usr/local/bin/gjslint --sourcemap essai.ts
Traceback (most recent call last):
  File "/usr/local/bin/gjslint", line 8, in <module>
    load_entry_point('closure-linter==2.3.9', 'console_scripts', 'gjslint')()
  File "build/bdist.macosx-10.8-intel/egg/closure_linter/gjslint.py", line 236, in main
  File "build/bdist.macosx-10.8-intel/egg/gflags.py", line 1319, in __call__
gflags.UnrecognizedFlagError: Unknown command line flag 'sourcemap'

Can you, please, help me ?

Thanks a lot


Capture d’écran 2013-03-23 à 23.53.04.png

1 comment
Comment actions Permalink


Why do you use Closure Linter for TypeScript?

Maybe you nedd /usr/local/bin/tsc?


Please sign in to leave a comment.