在 C:Program Files (x86)Microsoft SDKsTypeScript1.8 sc.exe 中找不到 TypeScript 编译器 [英] No TypeScript compiler was found at C:Program Files (x86)Microsoft SDKsTypeScript1.8 sc.exe

查看:21
本文介绍了在 C:Program Files (x86)Microsoft SDKsTypeScript1.8 sc.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 中找不到编译器SDKsTypeScript1.8 sc.exe

No compiler was found at C:Program Files (x86)Microsoft SDKsTypeScript1.8 sc.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?

推荐答案

我已经阅读了关于 this 问题在 TypeScript Github 存储库上.虽然这是一个不同的问题,但我确实找到了一个线索:修复 Visual Studio 2015(通过控制面板)在正确的文件夹中安装了 tsc.exe.

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 SDKsTypeScript1.8 sc.exe 中找不到 TypeScript 编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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