【问题标题】:sencha touch build issuesencha touch 构建问题
【发布时间】:2013-08-29 21:38:20
【问题描述】:

我正在使用命令“sencha app build testing”来部署测试包。

我在创建测试版本时遇到以下错误:

[WRN]           C1000: Yui Compressor Warning (Trailing comma is not legal in an ECMA-262 object initializer =>     },) -- C:\localdevelopment\apps\pressflow\ne w\pulse\app\app\view\DDEditor.js:2663
[INF]           Processing class inheritance graph
[INF]           Processing instantiation refereces to classes and aliases
[WRN]           C1000: Yui Compressor Warning (Trailing comma is not legal in an
 ECMA-262 object initializer =>     },) -- C:\localdevelopment\apps\pressflow\ne w\pulse\app\app\view\DDEditor.js:2663
[INF]           Processing source dependencies
[ERR]           Circular requires reference :
...\touch\src\AbstractComponent.js
...\touch\src\Evented.js ->
...\touch\src\core\src\util\TaskMan
ager.js ->
...\touch\src\util\TaskRunner.js ->

...\touch\src\util\Format.js ->
...\touch\src\core\src\util\TaskMan
ager.js
[ERR]
[ERR]           BUILD FAILED
[ERR]           com.sencha.exceptions.BasicException: The following error occurr
ed while executing this line:
[ERR]           ...\.sencha\app\bui
ld-impl.xml:137: com.sencha.exceptions.ExScript: Wrapped com.sencha.exceptions.B
asicException: com.sencha.exceptions.ExCircularReference: Circular requires refe
rence for file ...\touch\src\core\s
rc\util\TaskManager.js (x-app-build#273)   runAppBuild (x-app-build:273)   [anon
ymous] (x-app-build:545)   x_app_build (x-app-build:543)   <script> (anonymous:1
)

请帮助解决这些错误...

【问题讨论】:

    标签: build dependencies sencha-touch-2 sencha-touch-2.1


    【解决方案1】:

    您的代码中有一些拼写错误。就是这样的

    [WRN] C1000:Yui 压缩机警告(尾随逗号不是 在 ECMA-262 对象初始化器中合法 => },) -- C:\localdevelopment\apps\pressflow\ne w\pulse\app\app\view\DDEditor.js:2663

    在抱怨。您在 DDEditor.js 中的某处有一些额外的逗号。

    [ERR] 通函需要参考:

    说您需要在项目中使用额外的类才能使用它。看看这个帖子 http://bugsdaily.com/sencha-extjs-4/extjs-circular-requires-reference.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-07-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多