Sencha touch application loader keeps blinking

陌路散爱 提交于 2019-12-24 15:38:54

问题


I just setup an all basic sencha touch application. Just did sencha generate app *Name* *Directory*. The app is generated without any error, but when I start the server and load the application in Chrome (just updated to the latest version), I get a blue screen with three blinking dots.

In the JS console, there is this:

Uncaught TypeError: Object [object Object] has no method 'append'", occured in sencha-touch.js

Is this a common issue? Did I do anything wrong? The app is generated with sencha touch 2.2.1 and ruby 1.9.3.


回答1:


I had the exact same issue, and I bet you downloaded at the same time I did.

It turns out the Touch 2.2.1 build from 2013-09-05 23:07:03 had corrupted main js libraries (looks like double content, check out the file sizes), but the current (from 2013-09-06 12:41:24) works as expected for me.

Download the latest version and try again :)




回答2:


I'm totally new to sencha touch but i had a similar error and solved it:

1) open terminal and navigate to your application-folder (in my case /opt/lampp/htdocs/Testproject) 2) Generate the app (I did it in testing-mode) by: sencha app build testing

3) Go to your browser and navigate to: http://localhost/Testproject/build/Testproject/testing/

Done! That works for me but I have no idea, why the "three-dot-error" appears only on the "root-site" http://localhost/Testproject

Anyone know the answer? :)



来源:https://stackoverflow.com/questions/18664821/sencha-touch-application-loader-keeps-blinking

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!