I have a simple universal app, which works just fine when tested using
sencha app watch
However, when i prepared a production/testing build version using
sencha app build testing/production
and tested it on a webserver, the errors started to come.
For example, the modern toolkit version has a form with passwordfield within and the error whown during the view instantiation is:
Uncaught Error: [Ext.createByAlias] Unrecognized alias: widget.passwordfield
Alternatively, the classic toolkit version has a simple container with layout: 'center' and the error here is:
Uncaught Error: [Ext.createByAlias] Unrecognized alias: layout.center
All this is very annoying, because it works just fine on sencha app watch.
Any ideas how to investigate this?
I'm pretty sure it is related to some sencha cmd configurations, but i have no way to find out where the problem is.