煎茶触摸生产构建错误
Sencha touch production build errors
使用 touch 2.1.0 和 Cmd 3.1.2.342
在尝试创建我的煎茶应用程序的生产版本时,我收到以下错误:
[WRN] C1003:不支持的 Ext.define 语法 -- C:''wamp''www''touch-2.1.0''axis'ativ e''appname''touch''src''fx''TimingFunctions.js:109
[ERR] C2008:要求没有匹配的文件 (Ext.fx.TimingFunctions) -- C:''wa mp''www''touch-2.1.0''axis'ative''appname''touch''src''fx''Abstract.js:959
[ERR] 执行此行时发生以下错误: C:''wamp''www''touch-2.1.0''axis'ative''appname.sencha''app''build-impl.xml:165:
在我看来,它是在说一个名为fx/TimingFunctions.js的文件是fx/Abstract需要的.js但找不到。但是,这不能是它的意思,因为该文件存在于该文件夹中。
我正在使用的命令是:
煎茶应用构建生产
TimemingFunctions.js 的第 109 行如下所示:
Ext.define('Ext.fx.TimingFunctions', Ext.apply({
singleton: true,...
一种解决方案是将 TimingFunctions 的第 109 行.js从:
Ext.define('Ext.fx.TimingFunctions', Ext.apply({
自:
Ext.define('Ext.fx.TimingFunctions', {
并将同一文件的第 136 行从:
}, EasingPrototype));
自:
}, EasingPrototype);
然后,这将允许继续构建。
但是,当我在 Web 浏览器中查看生产应用程序时,它会冻结并出现以下错误
未捕获的类型错误:对象 # 没有方法"调用"进程 sencha-touch-all-debug.js:6767
(匿名函数)进程 sencha-touch-all-debug.js:6774
(匿名函数)煎茶触摸全部调试.js:6779
Ext.apply.onBeforeCreated sencha-touch-all-debug.js:5196
进程 sencha-touch-all debug.js:5262
进程 sencha-touch-all debug.js:5268
进程 sencha-touch-all debug.js:5268
进程 sencha-touch-all debug.js:5268
Ext.apply.process sencha-touch-all-debug.js:5272
Ext.Class.ExtClass sencha-touch-all-debug.js:5183
Ext.ClassManager.create sencha-touch-all-debug.js:6725 Ext.apply.define sencha-touch-all-debug.js:7407
(匿名函数) TimingFunctions.js?_dc=1379403994382:109
(匿名函数) TimingFunctions.js?_dc=1379403994382:138
Abstract.js 和 fx/TimingFunctions 中存在拼写错误.js实际上,这不是拼写错误 - 更像是语法错误。
摘要.js在 TimingFunctions 中调用函数.js. 在抽象中.js它被称为 EasingMap
,而在 TimingFunctions 中.js它被称为easingMap
- 对于grunt构建中的(let.of)错误
- Javascript Sencha cmd 应用程序构建错误发生在执行此行时
- 使用 jQuery 构建一个元素会给我一个错误
- 为什么当我尝试为iframe-src属性构建URL时,AngularJS会抛出错误
- java中的构建到过程构建器错误
- JSON解析错误在一个系统中我没有't构建
- 为Android构建时出现本机描述推送通知错误
- "npm运行构建“;模块解析错误”;您可能需要一个适当的加载程序来处理此文件类型&”;
- SlickGrid根据日期错误动态构建列
- 构建错误列表
- Windows 7 上 Android 的 Phonegap 3.0 构建错误
- 安装 socket.io 返回(node-gyp 重建 2> 构建错误.log) ||(0 号出口)
- 在浏览器中查看时出现煎茶构建错误
- 煎茶触摸生产构建错误
- JavaScript日期对象构建错误的日期
- 在heroku中部署HTML应用程序时出现构建错误
- Visual Studio 2015 Apache Cordova构建错误
- Webpack构建错误
- 节点.js电子预构建错误找不到模块“浏览器窗口”窗口 10
- 为什么我会收到这个节点.js构建错误