I have been build my app with command: "sencha app build", then copy index.html, app.js and app.json to production and get this error.


VM672:1 GET http://myApp/widget/externalPending....=1545038172126 404 (Not Found)
(anonymous) @ VM672:1
fetch @ index.html:20
fetch @ index.html:27
loadSync @ index.html:30
load @ index.html:31
loadEntries @ index.html:24
processRequest @ index.html:18
loadSync @ index.html:18
load @ index.html:18
loadScripts @ app.js?_dc=1545038113913:1
load @ app.js?_dc=1545038113913:1
require @ app.js?_dc=1545038113913:1
syncRequire @ app.js?_dc=1545038113913:1
(anonymous) @ app.js?_dc=1545038113913:1
create @ app.js?_dc=1545038113913:1
widget @ app.js?_dc=1545038113913:1
create @ app.js?_dc=1545038113913:1
lookupComponent @ app.js?_dc=1545038113913:1
prepareItems @ app.js?_dc=1545038113913:1
add @ app.js?_dc=1545038113913:1
createTab @ app.js?_dc=1545038113913:1
tabOnLoad @ app.js?_dc=1545038113913:1
processRoute @ app.js?_dc=1545038113913:1
resume @ app.js?_dc=1545038113913:1
beforeProcessRoute @ app.js?_dc=1545038113913:1
execute @ app.js?_dc=1545038113913:1
runQueue @ app.js?_dc=1545038113913:1
onStateChange @ app.js?_dc=1545038113913:1
fire @ app.js?_dc=1545038113913:1
doFireEvent @ app.js?_dc=1545038113913:1
fireEventArgs @ app.js?_dc=1545038113913:1
fireEvent @ app.js?_dc=1545038113913:1
handleStateChange @ app.js?_dc=1545038113913:1
onHashChange @ app.js?_dc=1545038113913:1
fire @ app.js?_dc=1545038113913:1
fire @ app.js?_dc=1545038113913:1
doDirectEvent @ app.js?_dc=1545038113913:1
onDirectEvent @ app.js?_dc=1545038113913:1
(anonymous) @ app.js?_dc=1545038113913:1
VM693:3 Uncaught TypeError: c is not a constructor
at eval (eval at getInstantiator (app.js?_dc=1545038113913:1), <anonymous>:3:8)
at Object.create (app.js?_dc=1545038113913:1)
at Object.widget (app.js?_dc=1545038113913:1)
at aj.create (app.js?_dc=1545038113913:1)
at aj.lookupComponent (app.js?_dc=1545038113913:1)
at aj.prepareItems (app.js?_dc=1545038113913:1)
at aj.add (app.js?_dc=1545038113913:1)
at aj.createTab (app.js?_dc=1545038113913:1)
at aj.tabOnLoad (app.js?_dc=1545038113913:1)
at aj.processRoute (app.js?_dc=1545038113913:1)

What could be wrong?