-1

I'm getting this error pressing Ctrl+Shift+B trying to compiling a Typescript file:

(Translated)

"tsc" is not recognized as an internal or external command...

ScreenShot for the problem

It's not supposed to be already included???

Pedro Mora
  • 95
  • 9

2 Answers2

2

Try installing tsc with npm install -g typescript.

Peter Keuter
  • 778
  • 5
  • 14
  • Sorry, my proxy config it's a mess which doesn't allow me to do it. I'm working on a Cuban enterprise and there's some security restrictions and I understand them. So, I was quietly looking for an offline solution and then I remembered the world is not made for us while the embargo is still there. – Pedro Mora May 09 '16 at 13:18
-1

This was my solution. Still it's a little bit "out of my range".

  1. Download TypeScript for Visual Studio 2015
  2. Add the installed folder to Path example (In my case, it worked):

SET PATH=%PATH%;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8\

PS: I don't why but I had to replace the second parameter of the "args" setting: "${workspace}" instead of "." in task.json

Pedro Mora
  • 95
  • 9