Visual Studio 2013 Cordova 应用构建错误 - 冻结

Visual Studio 2013 Cordova App Build Error - Freezes

我无法在 Visual Studio 2013 年构建 Cordova 应用程序。构建开始但几秒钟后冻结。

构建过程的最后一行输出:

Could not find Cordova as a local module. Expecting to find it installed globally.

我在 node.js 上无数次 运行 Cordova 安装命令(全局),但仍然遇到相同的构建错误。

我不确定如何解决这个问题。

有谁知道问题出在哪里或我遗漏了什么?

我遇到了同样的问题,我尝试了很多解决方案...通过更改防火墙中的设置解决了这个问题。我观察到防火墙阻止了一个 js 进程(node.exe)。当我 关闭防火墙时,VS 解冻 。所以我重新配置它,我的问题就消失了。我使用 win 7 64 位和 VS 2013 update 4。

您也可以尝试打开 x64 IIS(如果您使用的是 64 位 OS):Cordova Tools for Visual Studio 2013 CTP3 crashes or gets freezed

and/or 每晚更新 Web Essentials: http://www.roelvanlisdonk.nl/?p=3989