-
14 Aug 2012 11:17 AM #1
Unanswered: sencha app build package - bug?
Unanswered: sencha app build package - bug?
Hello everyone.
I'm with a bug here and I don't know how to handle it.
I have created an app using
sencha generate app teste ../teste
Then, just after that, without changing nothing on the generated code, I'm trying to test a build:
sencha app build package
The thing is, when trying to access the generated build on chrome I'm getting this error:Code:[INFO] Deploying your application to /Users/lgertel/Sites/teste/build/package[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:////Users/lgertel/Sites/teste/index.html) [INFO] Found 139 dependencies. Concatenating all into '/Users/lgertel/Sites/teste/build/package/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] Minified resources/css/app.css [INFO] Generated app.json [INFO] Embedded microloader into index.html
- [COLOR=red !important]GET http://192.168.1.6/~lgertel/teste/bu...=1344971538259 404 (Not Found) sencha-touch.js:1[/COLOR]
- [COLOR=red !important]Uncaught Error: [Ext.Loader] Failed loading 'http://192.168.1.6/~lgertel/teste/bu.../log/Logger.js', please verify that the file exists [/COLOR]
What I'm missing as I didn't change nothing from the original created application?
I'm using sencha 2.0.1.1
Thanks
-
15 Aug 2012 4:12 AM #2
-
16 Aug 2012 12:17 AM #3
Try to change app.json
Try to change app.json
Open your app.json file and change the logger line to false:
Code:. "buildOptions": { "product": "touch", "minVersion": 3, "debug": false, "logger": false },
-
16 Aug 2012 7:41 AM #4
Now:
Uncaught Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically.
On my app.js I have this:
Code:Ext.Loader.setConfig({enabled:true}); Ext.Loader.setPath({ 'Ext': 'sdk/src' });


Reply With Quote