-
27 Nov 2012 10:39 PM #1
Unanswered: Error running sencha production build on chrome
Unanswered: Error running sencha production build on chrome
I had successfully created a production build with below message
Now i am trying to access http://localhost/Myapp/build/productionHTML Code:[INFO] Deploying your application to C:\wamp\www\Myapp\build\p roduction [INFO] Copied sdk/sencha-touch.js [INFO] Copied app.js [INFO] Copied resources/css/app.css [INFO] Copied resources/images [INFO] Copied resources/icons [INFO] Copied resources/startup [INFO] Resolving your application dependencies (file:///C:/wamp/www/Myapp/index.html) [INFO] Found 214 dependencies. Concatenating all into 'C:\wamp\www\Myapp\build\production\app.js' [INFO] Processed sdk/sencha-touch.js [INFO] Minifying sdk/sencha-touch.js [INFO] Processed app.js [INFO] Minifying app.js [INFO] Minifying resources/css/app.css [INFO] Minified sdk/sencha-touch.js [INFO] Minified app.js [INFO] Generated delta for: 'app.js' from hash: '47f5eb5139dc0f446246119d6e22e32 9d2135f16' to hash: '5cf9c0b79ccd0940054dfa93aa95ee7895d69acb' [INFO] Generated delta for: 'app.js' from hash: '227f21c3c31e193f23103f3ed62445c 4f54758a6' to hash: '5cf9c0b79ccd0940054dfa93aa95ee7895d69acb' [INFO] Generated delta for: 'app.js' from hash: 'a230120fc366d1ba83d8f537bc38571 5462ff131' to hash: '5cf9c0b79ccd0940054dfa93aa95ee7895d69acb' [INFO] Generated delta for: 'app.js' from hash: 'abd147b56be451ea02ee437c8744670 f03bbbcae' to hash: '5cf9c0b79ccd0940054dfa93aa95ee7895d69acb' [INFO] Generated delta for: 'app.js' from hash: 'ad05d0289d6840227756655939e9567 4c49a8a06' to hash: '5cf9c0b79ccd0940054dfa93aa95ee7895d69acb' [INFO] Generated delta for: 'app.js' from hash: 'bc88f6efae492fc81fe9a60d5c4e9b5 aaf836c56' to hash: '5cf9c0b79ccd0940054dfa93aa95ee7895d69acb' [INFO] Generated delta for: 'app.js' from hash: 'd6aa25b1e3c1cf5b8b719b6e64c1d40 3084103b7' to hash: '5cf9c0b79ccd0940054dfa93aa95ee7895d69acb' [INFO] Generated delta for: 'app.js' from hash: 'de42db0713c38ccd72e395a313c4843 4a92a3376' to hash: '5cf9c0b79ccd0940054dfa93aa95ee7895d69acb' [INFO] Minified resources/css/app.css [INFO] Generated app.json [INFO] Generated delta for: 'resources/css/app.css' from hash: '808c7971c49ea031 70ce40a4ad39447203365562' to hash: 'd9e7bd018eea09cc0660af4dec6d3fb15bc0b774' [INFO] Embedded microloader into index.html [INFO] Generating checksum for appCache item: index.html [INFO] Generated cache.manifest
On loading i am getting below message in chrome console.
But after that my app is not working, its just showing me home view.HTML Code:Document was loaded from Application Cache with manifest http://localhost/Myapp/build/production/cache.manifest Application Cache Checking eventApplication Cache NoUpdate event
No error in console. No tap events working. Its just like it return me a static page.
Originally there is an image on home view, and when a user tap on it, it redirects the user to another view. But nothing working
-
28 Nov 2012 11:44 PM #2
Someone please look into this issue.
Someone please look into this issue.
No solution till yet
-
29 Nov 2012 10:04 AM #3
Hi deepakgarg89,
did you try to clear your local storage?
In Chrome you can do that under Console > Resources > Local Storage.
Or maybe clearing your cache could also work. Does it work in a different browser, e.g. Safari?
Best regards,
Schildi
-
29 Nov 2012 8:32 PM #4
Hi Schildi,
Hi Schildi,
As you suggest i had tried both, also cleared local storage,cache and tried on safari also.
But the same problem occurs.
I got below message in chrome console.
HTML Code:Creating Application Cache with manifest http://localhost/Myapp/build/production/cache.manifest Application Cache Checking eventApplication Cache Downloading eventApplication Cache Progress event (0 of 1) http://localhost/Myapp/build/production/index.html Application Cache Progress event (1 of 1) Application Cache Cached event
-
29 Nov 2012 11:48 PM #5
Hmm, I think this messages are correct. Do you receive them everytime you reload the page?
Do the other versions like
sencha app build testing
and
sencha app build package
work?
Best regards,
Schildi
-
30 Nov 2012 12:46 AM #6
Hi Schildi,
Hi Schildi,
Yes, i am getting these message everytime.
I had also tested testing build, but it also not working and there is no message in console.
-
30 Nov 2012 1:42 AM #7
What happens if you change update: delta to update: full for the scripts and css in your app.json file?
-
30 Nov 2012 1:51 AM #8
Hi eastlander,
Hi eastlander,
As you suggest i had change update: delta to update: full for js and css. Than i create production build again and tested, but same problem occurs. No tap event working and i am getting below message in chrome console.
HTML Code:Document was loaded from Application Cache with manifest http://localhost/Myapp/build/production/cache.manifest Application Cache Checking eventApplication Cache NoUpdate event
-
30 Nov 2012 2:11 AM #9
Sencha is storing the js and css files in your localstorage. When Sencha is detecting changes in your manifest file, it replaces the localstorage with the newly loaded files.
What you see in your console is the status of the manifest file, as you can see Chrome is checking for changes and raises the NoUpdate event which means that your manifest file is unchanged.
Can you change your manifest file, make some changes in the hash for example. You will see that Chrome is downloading the new manifest file and your app will ask you to reload because it's updated.
-
30 Nov 2012 2:58 AM #10
Hi,
Hi,
I had done some editing and than reload, there is a message prompt of updation than i click on it and it reload cache.manifest but the issue is not resolved. Again no success


Reply With Quote