【发布时间】:2016-05-02 01:21:26
【问题描述】:
几天没有接触我的应用程序后,今天当我尝试构建它时,出现以下错误:
Error thrown while running shell command: "cordova build ios"
Error: Command failed: /bin/sh -c cordova build ios
Error: Cannot read property 'nodeValue' of undefined
如果我删除 ios 平台并重新添加它,它会起作用,但这不是最好的解决方案......我想了解这个问题。
您是否知道可能导致此错误的原因以及解决此错误的最佳解决方案是什么?
谢谢。
【问题讨论】:
-
你有没有在构建阶段运行的脚本?
-
不,我没有任何脚本
-
您在代码中的哪个位置执行“cordova build ios”?
-
上述错误来自
ember-cli-cordova模块。即使我在终端中手动运行它也会出现错误。
标签: javascript ios cordova