找不到 TypeScript 编译器 [英] The TypeScript compiler couldn't be found

查看:50
本文介绍了找不到 TypeScript 编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Visual Studio 2012 和 TypeScript 0.9.5 版.我也在使用 Web Essentials 2.8.在我尝试保存 TypeScript 文件后,它说:

I am using Visual Studio 2012 and TypeScript version 0.9.5. I am also using web essentials 2.8. After I try to save the TypeScript file, it says:

  1. 编译错误.
  2. 查看错误列表了解详情
  3. 找不到 TypeScript 编译器.下载 http://www.typescriptlang.org/#Download

但即使下载最新版本也无济于事.我检查了一些链接,但找不到解决方案.

But even downloading latest version did not help. I checked some links but could not find the solution.

TypeScript 文件的右侧面板未正确更新

无法在 Visual Studio 2012 中编译 TypeScript 文件

请帮忙.

谢谢!!!

推荐答案

您正在使用旧版本的 Web Essentials 和新版本的 TypeScript.WebEssentials 在 v3.x 之后减少了对打字稿的支持,以免与 Visual Studio 的打字稿工具发生冲突.

You are using a really old version of web essentials with a new version of TypeScript. WebEssentials reduced its typescript support after v3.x so as to not conflict with Visual Studio tooling for TypeScript.

您可以在此处获取最新的 WebEssentials:http://vswebessentials.com/download

You can get the latest WebEssentials here : http://vswebessentials.com/download

这篇关于找不到 TypeScript 编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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