mardi 13 mai 2014

Not found 404 error on chart widget for production mode

Hi guys,

I 've been playing with Ext 5 for a couple of weeks, so far it's been great.

I played with the all new sencha-charts, it was awesome but in development mode it's painfully slow.

I tried building the app, i found this error:



Code:



GET http://myApp/.js?_dc=1400029081218 404 Not Found
"NetworkError: 404 Not Found - http://myApp/.js?_dc=1400029081218"
TypeError: c is not a constructor
return new c(a[0])

I tried creating a new app using sencha generate app, and starting to add a component by component.

It turns out to be, that all other component was fine until I added a chart. I'm requiring the chart in the app.json with this code:


Code:



"requires": [
"sencha-charts"
],

and also in the "requires" section inside the view script.

I checked the built app.js and also the app.json , and the sencha chart components was there. Is this a bug or did I miss something? Thanks beforehand guys..


Aucun commentaire:

Enregistrer un commentaire