找不到 TypeScript 编译器 [英] The TypeScript compiler couldn't be found
问题描述
我使用的是 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:
- 编译错误.
- 查看错误列表了解详情
- 找不到 TypeScript 编译器.下载 http://www.typescriptlang.org/#Download
但即使下载最新版本也无济于事.我检查了一些链接,但找不到解决方案.
But even downloading latest version did not help. I checked some links but could not find the solution.
无法在 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屋!