0

我正在使用命令“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
)

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

4

1 回答 1

0

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

[WRN] C1000: Yui Compressor 警告(尾随逗号在 ECMA-262 对象初始化程序中是不合法的 => },)- C:\localdevelopment\apps\pressflow\new w\pulse\app\app\view\DDEditor。 js:2663

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

[ERR] 通函需要参考:

表示您需要在项目中使用额外的类才能使用它。看看这篇文章 http://bugsdaily.com/sencha-extjs-4/extjs-circular-requires-reference.html

于 2013-08-29T12:16:54.423 回答