在C:\ Program Files(x86)\ Microsoft SDKs \ TypeScript \ 1.8 \ tsc.exe中找不到TypeScript编译器 [英] No TypeScript compiler was found at C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8\tsc.exe

查看:331
本文介绍了在C:\ Program Files(x86)\ Microsoft SDKs \ TypeScript \ 1.8 \ tsc.exe中找不到TypeScript编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为Visual Studio 2015安装了Visual Studio 2015和TypeScript 1.8.6.创建新的TypeScript项目并构建后,出现以下构建错误:

I installed Visual Studio 2015 and TypeScript 1.8.6 for Visual Studio 2015. After creating a new TypeScript project and building, I get this build error:

在C:\ Program Files(x86)\ Microsoft下找不到编译器 SDKs \ TypeScript \ 1.8 \ tsc.exe

No compiler was found at C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8\tsc.exe

实际上,文件系统中缺少tsc.exe.

Indeed, tsc.exe is missing in the file system.

我尝试过的事情:

  • 卸载并重新安装Visual Studio 2015 1.8.6.0的TypeScript工具
  • 卸载并重新安装Visual Studio 2013 1.8.5.0的TypeScript工具
  • 修复Visual Studio 2015 1.8.6.0的TypeScript工具
  • 我曾经尝试过将其关闭然后再打开:-)

有关如何解决此问题的任何线索?哪个组件安装TypeScript SDK?

Any clue on how to solve this? Which component installs the TypeScript SDK?

推荐答案

我已经阅读了

I've read through the comments on this issue on the TypeScript Github repo. Although this is a different issue, I did find a clue: repairing Visual Studio 2015 (through the Control Panel) installed tsc.exe in the correct folder.

这篇关于在C:\ Program Files(x86)\ Microsoft SDKs \ TypeScript \ 1.8 \ tsc.exe中找不到TypeScript编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆