Sencha app build production successfully,but the production page fails to load with .js not found error -


i using extjs 5 ,sencha cmd 5 , extjs sencha charts.

my app's index.html in 'app' directory works fine,and sencha app build successfully. when go production package load production index.html,the console gives me error '.js not found' ,the log below:

get http://localhost:8080/build/production/recommendation/.js?_dc=1431411762018 404 (not found)   ext.boot.ext.boot.d.fetch    ext.boot.ext.boot.r.fetch    ext.boot.ext.boot.r.loadsync     ext.boot.ext.boot.r.load     ext.boot.ext.boot.k.loadentries      ext.boot.ext.boot.d.processrequest       ext.boot.ext.boot.d.loadsync     ext.boot.ext.boot.d.load     ext.apply.loadscripts    ext.apply.load       ext.apply.require    ext.apply.syncrequire    ext.function.o.alias     ext.classmanager.ext.apply.create    ext.classmanager.ext.apply.instantiatebyalias    ext.apply.factory    ext.cmd.derive.applyaxes     k    ext.configurator.configure       ext.base.r.addmembers.initconfig     ext.cmd.derive.constructor       ext.cmd.derive.constructor       ai       ext.classmanager.ext.apply.widget    ext.cmd.derive.create    ext.cmd.derive.lookupcomponent       ext.cmd.derive.privates.prepareitems     ext.cmd.derive.add       ext.cmd.derive.inititems     ext.cmd.derive.inititems     ext.cmd.derive.initcomponent     ext.cmd.derive.initcomponent     ext.cmd.derive.constructor       ai       ext.classmanager.ext.apply.widget    ext.cmd.derive.create    ext.cmd.derive.lookupcomponent       ext.cmd.derive.privates.prepareitems     ext.cmd.derive.add       ext.cmd.derive.inititems     ext.cmd.derive.inititems     ext.cmd.derive.initcomponent     ext.cmd.derive.initcomponent     ext.cmd.derive.constructor       ai       ext.classmanager.ext.apply.widget    ext.cmd.derive.create    ext.cmd.derive.lookupcomponent       ext.cmd.derive.privates.prepareitems     ext.cmd.derive.add       ext.cmd.derive.inititems     ext.cmd.derive.inititems     ext.cmd.derive.initcomponent     ext.cmd.derive.initcomponent     ext.cmd.derive.initcomponent     ext.cmd.derive.constructor       ai       ext.classmanager.ext.apply.widget    ext.cmd.derive.create    ext.cmd.derive.lookupcomponent       ext.cmd.derive.privates.prepareitems     ext.cmd.derive.add       ext.cmd.derive.inititems     ext.cmd.derive.inititems     ext.cmd.derive.initcomponent     ext.cmd.derive.initcomponent     ext.cmd.derive.initcomponent     ext.cmd.derive.constructor       ai       (anonymous function)     ext.classmanager.ext.apply.create    ext.cmd.derive.loginsuccess      ext.widget.submit.success    ext.apply.callback       ext.cmd.derive.afteraction       ext.cmd.derive.onsuccess     ext.apply.callback       ext.cmd.derive.oncomplete    ext.cmd.derive.onstatechange     ext.function.o.bind    uncaught typeerror: object not function   (anonymous function)     ext.classmanager.ext.apply.create    ext.classmanager.ext.apply.instantiatebyalias    ext.apply.factory    ext.cmd.derive.applyaxes     k    ext.configurator.configure       ext.base.r.addmembers.initconfig     ext.cmd.derive.constructor       ext.cmd.derive.constructor       ai       ext.classmanager.ext.apply.widget    ext.cmd.derive.create    ext.cmd.derive.lookupcomponent       ext.cmd.derive.privates.prepareitems     ext.cmd.derive.add       ext.cmd.derive.inititems     ext.cmd.derive.inititems     ext.cmd.derive.initcomponent     ext.cmd.derive.initcomponent     ext.cmd.derive.constructor       ai       ext.classmanager.ext.apply.widget    ext.cmd.derive.create    ext.cmd.derive.lookupcomponent       ext.cmd.derive.privates.prepareitems     ext.cmd.derive.add       ext.cmd.derive.inititems     ext.cmd.derive.inititems     ext.cmd.derive.initcomponent     ext.cmd.derive.initcomponent     ext.cmd.derive.constructor       ai       ext.classmanager.ext.apply.widget    ext.cmd.derive.create    ext.cmd.derive.lookupcomponent       ext.cmd.derive.privates.prepareitems     ext.cmd.derive.add       ext.cmd.derive.inititems     ext.cmd.derive.inititems     ext.cmd.derive.initcomponent     ext.cmd.derive.initcomponent     ext.cmd.derive.initcomponent     ext.cmd.derive.constructor       ai       ext.classmanager.ext.apply.widget    ext.cmd.derive.create    ext.cmd.derive.lookupcomponent       ext.cmd.derive.privates.prepareitems     ext.cmd.derive.add       ext.cmd.derive.inititems     ext.cmd.derive.inititems     ext.cmd.derive.initcomponent     ext.cmd.derive.initcomponent     ext.cmd.derive.initcomponent     ext.cmd.derive.constructor       ai       (anonymous function)     ext.classmanager.ext.apply.create    ext.cmd.derive.loginsuccess      ext.widget.submit.success    ext.apply.callback       ext.cmd.derive.afteraction       ext.cmd.derive.onsuccess     ext.apply.callback       ext.cmd.derive.oncomplete    ext.cmd.derive.onstatechange     ext.function.o.bind    

my extjs version 5.1,my sencha cmd version 5.1.3.61. have googled answers hours.some advised use 'sencha app build testing',and testing build too.i don't know app problem is!

i referred here find out way locate problem is. said using 'sencha app build testing' under sencha cmd,and debug testing package find out missing requires. have mention here that, why should work fine without requiring class alias 'axis.numeric','axis.category','series.bar' under devmode, while fails under production mode , testing mode! worse,under production mode framework feeds nothing useful '.js' not found exception!


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -