jeudi 11 décembre 2014

Cannot compile Sample application with sencha cmd5.0.3.324

Hello,

i've download Sencha cmd here: http://ift.tt/1zb0jZC

and ext js 5.1.0 here: http://ift.tt/1zb0jZE


I open my cmd (i'm under windows 7) i go the extjs 5.1.0 folder and i create a sample application with this command:



Code:



E:\Sdk\Sencha\Cmd\5.0.3.324 generate app App e:/app

after i go to the generated folder with my command line tool and try to compile the generated sample application with this command


Code:



E:\Sdk\Sencha\Cmd\5.0.3.324 app build

But i get the following error:


Code:



[INF] Capturing theme image[ERR] loading page E%3A/Documents\Workspace\Sandbox-2\Appraisal\src\main\webapp/sass/example/theme.html
== Unhandled Error ==
TypeError: Object prototype may only be an Object or null.


file:///E:/Documents/Workspace/Sandbox-2/Appraisal/src/main/webapp/ext/build/ext-all-rtl-debug.js:72089
file:///E:/Documents/Workspace/Sandbox-2/Appraisal/src/main/webapp/ext/build/ext-all-rtl-debug.js:8564
file:///E:/Documents/Workspace/Sandbox-2/Appraisal/src/main/webapp/ext/build/ext-all-rtl-debug.js:8946
file:///E:/Documents/Workspace/Sandbox-2/Appraisal/src/main/webapp/ext/build/ext-all-rtl-debug.js:72296


[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExProcess: phantomjs process exited with code 2
[ERR] at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoke
[ERR] r.java:175)
[ERR]
[ERR] Total time: 35 seconds
[ERR] The following error occurred while executing this line:
E:\Documents\Workspace\Sandbox-2\Appraisal\src\main\webapp\.sencha\app\build-impl.xml:332: The following error occurred while executing this line:
E:\Documents\Workspace\Sandbox-2\Appraisal\src\main\webapp\.sencha\app\slice-impl.xml:306: The following error occurred while executing this line:
E:\Documents\Workspace\Sandbox-2\Appraisal\src\main\webapp\.sencha\app\slice-impl.xml:307: The following error occurred while executing this line:
E:\Documents\Workspace\Sandbox-2\Appraisal\src\main\webapp\.sencha\app\slice-impl.xml:163: com.sencha.exceptions.ExProcess: phantomjs process exited with code 2

The errors is due to the line of ext/build/ext-all-rtl-debug.js:72089 where Ext.platformTags is undefined instead of null or an object:


Code:



context: Ext.Object.chain(Ext.platformTags)

I've replace Ext.platformTags by null value, build work but i get a ty css result.

Do you know why i'm getting an undefined Ext.platformTags and how can i solve it ? Bug in framework ?






Cannot compile Sample application with sencha cmd5.0.3.324

Aucun commentaire:

Enregistrer un commentaire