错误:无法读取属性' name'未定义的

时间:2017-09-06 19:27:00

标签: ios cordova ionic-framework emulation

我正在尝试运行模拟器(过去运行良好)但是我收到错误,完整的控制台输出在这里:

Eamons-MBP:myapp eamonwhite$ ionic cordova emulate ios --target="iPhone-6, 10.3"
Running app-scripts build: --address 0.0.0.0 --port 8100 --p 8100 --livereload-port 35729 --r 35729 --iscordovaserve --externalIpRequired --nobrowser

[15:22:46]  build dev started ... 
[15:22:46]  clean started ... 
[15:22:46]  clean finished in 2 ms 
[15:22:46]  copy started ... 
[15:22:46]  transpile started ... 
[15:22:50]  transpile finished in 3.99 s 
[15:22:50]  preprocess started ... 
[15:22:50]  deeplinks started ... 
[15:22:50]  deeplinks finished in 209 ms 
[15:22:50]  preprocess finished in 210 ms 
[15:22:50]  webpack started ... 
[15:22:57]  copy finished in 11.27 s 
[15:23:06]  webpack finished in 15.69 s 
[15:23:06]  sass started ... 
[15:23:07]  sass finished in 1.36 s 
[15:23:07]  postprocess started ... 
[15:23:07]  postprocess finished in 6 ms 
[15:23:07]  lint started ... 
[15:23:07]  build dev finished in 21.31 s 
> cordova emulate ios --target "iPhone-6, 10.3"
Running command: /Users/eamonwhite/ionicmane/myapp/hooks/after_prepare/ionic-minify.js /Users/eamonwhite/ionicmane/myapp

Error: Cannot read property 'name' of undefined


[ERROR] Cordova encountered an error.
        You may get more insight by running the Cordova command above directly.

[ERROR] An error occurred while running cordova emulate ios --target "iPhone-6, 10.3" (exit code 1).

我不确定错误是指什么,几天前一切都很好。

0 个答案:

没有答案