After the latest update vs stopped working, tsc is not recognized as an internal or external command

The name says that everything, anyway, after updating yesterday's visual code studio does not translate ts files to js, ​​saying that tsc is not recognized as an external or internal command

0
javascript typescript transpiler visual-studio-code
source share
1 answer

In the settings, set the typescript sdk location

Now the installation can take absolute and relative paths.

I have typescript installed locally in my projects, so my stting looks like

{ "typescript.tsdk": "./node_modules/typescript/lib" } 

I use VSCode 0.10.5 and TS 1.7.5, which are the latest at the time of writing

0
source share

All Articles