Hello everyone. I have a problem that I hope someone can help me with.
My web app works great when I use 'sencha app build testing', but when I use 'sencha app build production' it does not. When I load it to my server and view it, all I get is a blank white screen. So I took a look at it in Chrome and here is what I found in the console:
I have no idea where it is getting the numbers after app.json.
So, I noticed that in my index.html that script src was 'sdk/microloader/development.js'. I changed development.js to production.js, but when I try to run the build I get the following errors:
[ERROR] TypeError: 'undefined' is not a function
phantom.js://webpage.evaluate():7
phantom.js://webpage.evaluate():1
c:\inetpub\wwwroot\(my path)\sdk\command\vendor\phantomjs\dependencies.js:36
Timeout waiting for the application to finish loading
[ERROR] Failed loading your application from 'http://localhost/(my path)/index.html
I have no idea how to resolve this. Any help would be greatly appreciated.
Well, some how I finally got the production build to work. I did some various cleanup on some files and now it works. I wish I knew what made it work so it could help someone else.
Thanks for your reply Mitchell. I am running it on a webserver with IIS, and I do have the mime type for json files. It works pefecty fine with the testing build, just not the production build.
This is the error that I see in the cosole. I am not sure what the logger bug is.
[ERROR] TypeError: 'undefined' is not a function
phantom.js://webpage.evaluate():7
phantom.js://webpage.evaluate():1
c:\inetpub\wwwroot\(my path)\sdk\command\vendor\phantomjs\dependencies.js:36
Timeout waiting for the application to finish loading
[ERROR] Failed loading your application from 'http://localhost/(my path)/index.html