【发布时间】:2017-05-21 07:08:33
【问题描述】:
没有更改的示例项目无法在我安装的 VS2017 上构建。 (例如,归档新的 apache cordova 应用程序...然后运行)
我在 VMWARE 中使用 VS,但这应该没什么区别。我在运行项目时遇到不同的错误。例如我运行并得到:
2>assert.js:90
2>throw new assert.AssertionError({
2>**Node process unexpectedly exited while waiting for property 'appUrl'.**
2>assert.js:90
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
然后在没有任何变化的情况下,如果我再次运行,我有时会得到一个缺少路径的错误。
assert.js:90
throw new assert.AssertionError({
AssertionError: missing path
at Module.require (module.js:351:3)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\ProgramData\Microsoft\VisualStudio\MDA\cb54b8fa\taco-toolset-6.3.1\simulate.js:15:13)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3
当我从构建菜单中尝试浏览器中的模拟选项时会发生这种情况。 我似乎无法为此找到解决方案。我试过了
- 从 Visual Studio 工具中清除 Cordova 缓存 -> 选项菜单
- 重新安装和/或部分 Visual Studio,包括 taco 工具
- 将 VS 2017 升级到最新版本
- 完全修复 Visual Studio 安装
- 将 VMWARE 升级到最新补丁(我绝望了)
如果我尝试使用 Google Emulator - Phone build 选项,则会收到不同的错误
严重性代码描述项目文件行抑制状态 错误错误:找不到目标“Phone_armeabi-v7a_ToolsForApacheCordova”,无法运行项目 BlankCordovaApp4
在智慧尽头,我怎样才能让它工作?它可能会丢失什么路径?我什至在我的硬盘上找不到 modules.js 文件。
【问题讨论】:
标签: cordova visual-studio-cordova