问题描述
我正在尝试做一个
sencha 应用构建
在我的项目中 - 但它使用“broadcastChannel”并且我收到构建错误:
== Unhandled Error ==
ReferenceError: Can'''t find variable: broadcastChannel
file:[.Stuff.]/PopupWindowWithComms.js:11 in global code
[ERR]
[ERR] BUILD Failed
[ERR] com.sencha.exceptions.ExProcess: phantomjs process exited with code 2
[ERR] at su
[ERR] n.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERR]
[ERR] Total time: 28 seconds
[ERR] C:\Users\mike\bin\Sencha\Cmd\7.3.1.27\plugin.xml:333: The following error occurred while executing this line:
C:\Users\mike\bin\Sencha\Cmd\7.3.1.27\ant\build\app\build-impl.xml:341: The following error occurred while executing this line:
C:\Users\mike\bin\Sencha\Cmd\7.3.1.27\ant\build\app\slice-impl.xml:378: The following error occurred while executing this line:
C:\Users\mike\bin\Sencha\Cmd\7.3.1.27\ant\build\app\slice-impl.xml:379: The following error occurred while executing this line:
C:\Users\mike\bin\Sencha\Cmd\7.3.1.27\ant\build\app\slice-impl.xml:220: com.sencha.exceptions.ExProcess: phantomjs process exited with code 2
(如果我进行 sencha 应用程序构建开发 - 很好..)
我试过了
/*全局变量 广播频道 */
只是偶然,但这似乎没有帮助
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)