2014-12-27 7 views
2

저는 Sencha 4.2.1 GPL을 사용하고 라이센스를 구매하기로했습니다. 5.1을 설치하고 cmd를 업그레이드하면 이제는 기존 응용 프로그램을 빌드 할 때 동일한 오류가 발생하지만 이상한 점은 "sencha app watch"이 작동 중입니다.5.1로 업그레이드 할 때 cmd 4.2.1을 사용하여 sencha 앱을 빌드 할 때 오류가 발생했습니다.

[WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used 
as namespace by Ext.Toolbar.TextItem) -- D:\Customer Projects\GIS\ 
ext\src\toolbar\Toolbar.js:208 
[INF] Compressing data with YuiJavascriptCompressor 
[ERR] C2009: YUI Parse Error (missing while after do-loop body => 
      ; while ((t = t.parentNode) && 1 === t.nodeType);) -- unknown-file:146 
756:25 
[ERR] C2009: YUI Parse Error (Compilation produced 1 syntax errors. => null) -- 
unknown-file:2 
[ERR] 
[ERR] BUILD FAILED 
[ERR] com.sencha.exceptions.ExBuild: Failed to compress input 
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown So 
[ERR] urce) 
[ERR] 
[ERR] Total time: 10 seconds 
[ERR] The following error occurred while executing this line: 
D:\Customer Projects\GIS\.sencha\app\build-impl.xml:266: The follow 
ing error occurred while executing this line: 
D:\Customer Projects\GIS\.sencha\app\js-impl.xml:71: com.sencha.exc 
eptions.ExBuild: Failed to compress input 

이 어떻게 응용 프로그램을 만들거나 내가 4 cmd를 다시 다운 그레이드 할 필요가 수행 할 수 있습니다 업그레이드 한 후

[INF] Compressing data with YuiJavascriptCompressor 
[ERR] C2009: YUI Parse Error (missing while after do-loop body => 
      ; while ((t = t.parentNode) && 1 === t.nodeType);) -- unknown-file:149 
290:25 
[ERR] C2009: YUI Parse Error (Compilation produced 1 syntax errors. => null) -- 
unknown-file:2 
[ERR] 
[ERR] BUILD FAILED 
[ERR] com.sencha.exceptions.ExBuild: Failed to compress input 
[ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown So 
[ERR] urce) 
[ERR] 
[ERR] Total time: 12 seconds 
[ERR] The following error occurred while executing this line: 
D:\Customer Projects\GIS\.sencha\app\build-impl.xml:255: The following error occ 
urred while executing this line: 
D:\Customer Projects\GIS\.sencha\app\js-impl.xml:53: com.sencha.exceptions.ExBui 
ld: Failed to compress input 
[ERR] 
The application was last modified by an older version of Sencha Cmd (4.0.1.45) 
the current is 5.1.0.26. 
Please run "sencha app upgrade" to update to 5.1.0.26. 

나는 이러한 오류를 얻을?

EDIT 나는 Sencha Cmd 5를 제거하고 4 ... 빌드를 관리했습니다.

답변

0

근처의 코드에 YUI 압축기를 사용하는 경우 그것은 실패 : 그것은 당신에게 "알 수없는 파일"로 파일 이름을주는 이유를 모르겠어요하지만 당신은 그냥 검색을 수행 할 수 있어야한다

YUI Parse Error (missing while after do-loop body => 
; while ((t = t.parentNode) && 1 === t.nodeType);) -- unknown-file:146 

프로젝트 소스 코드는 1 === t.nodeType이고 범위를 좁혀 야합니다.

+0

내 코드에 이러한 문자열이 없습니다 ('1 ===') – Alophind

+0

위의 코드를 찾을 수없는 이유는 '컴파일 된'코드를 압축하려고하기 때문입니다. – TolMera