-
11 Dec 2012 8:40 AM #1
Upgraded Architect and none of my projects work
Upgraded Architect and none of my projects work
I upgraded architect and now I just get a blank screen whenever I do a preview. I am using version 2.1.0 build 676 release channel: 2.1-stable. I attached my project that used to work just fine before the build.
-
11 Dec 2012 12:55 PM #2
Select the Application node in the inspector, and find its "stores" config. Notice that the last item, "facilityStore", is not capitalized. Change it to a capital F and your project loads just fine.
Jason Johnston
@lojjic
Sencha Architect Development Team
-
11 Dec 2012 1:01 PM #3
In the spirit of "teach a man to fish", here's a tip to follow in case you find yourself in a similar situation in the future:
Find the Library item under Resources in the project inspector, and check its "Debug" checkbox. Then save and preview your project again, and since it's now using the debug version of the library you'll often get more detailed debugging info in the console. In this case, you would have seen:
Uncaught Error: The following classes are not declared even if their files have been loaded: 'Presidents.store.facilityStore'. Please check the source code of their corresponding files for possible typos: 'app/store/facilityStore.js
This likely would have pointed you in the right direction, noticing that facilityStore.js should be capitalized.Jason Johnston
@lojjic
Sencha Architect Development Team
-
11 Dec 2012 1:17 PM #4
Thank you so much for your help. The "Debug" option in the library will probably be a lifesaver in the future.


Reply With Quote