-
7 Jun 2012 6:15 AM #1
Unanswered: Upgrading to 2.0.1.1
Unanswered: Upgrading to 2.0.1.1
When I try to upgrade to ST2.0.1.1 with a drop in replacement of my sdk folder I get a
Get ../sdk/src/List.js file not found
error.
Where is that?
looking at the old sdk folder I don't see any difference.
-
7 Jun 2012 7:24 AM #2
Try to re-create your app with this:
first, then revert all custom changes made by the update (git reset --hard or something similar). That did the trick for me.HTML Code:sencha app create AppName path/to/app all
-
7 Jun 2012 2:00 PM #3
Correction; the app works fine in development, but the production build fails to load some files.
-
7 Jun 2012 2:21 PM #4
Just to confirm your report. The SDK version 2.0.1.1 seems to be working fine, but the latest SDK tools (2.0.0-beta3) do not seem to generate a correct production build when using this new SDK version.
Seems like an SDK Tools update will be needed to address this.
-
7 Jun 2012 11:15 PM #5
To be honest I have only used the SDK tool when I first created the app, but when I try the operation you suggests with the new SDK I get a runtime error in command\sencha.js line 24 - error 800A138f
Something with the path. Not sure yet what that means.
EDIT: I did not use the tool in my initial attempt to update the SDK folder. only copy/paste/rename operations.
-
8 Jun 2012 12:29 AM #6
You might be right. I've just updated the SDK tools to 2.0.0 beta 3 and followed the steps you listed in your first post (which worked like a charm) However when I'm doing a production build I now get an error that says that I can't access an object in my app.js file that I have made as a global variable. This does work without a hitch in my debug version.
But at least I have a working prototype
-
8 Jun 2012 6:46 AM #7
I have the same issue with ST 2.0.1.1. I created a new app and run the "sencha app build testing" command. When I run an app, a web browsers shows me an error saying "Failed loading sdk/src/log/Logger.js".
*Sencha Command v2.0.2
*ST 2.0.1.1
I tried a way "aatiis" suggested, but the sencha js file is 2.4M in the "build/testing" directory, which is not what I want to use.
Here are commands I used
$>sencha app create MyApp ../MyApp
$>sencha app build testing
- [COLOR=red !important]GET http://localhost/MyApp/build/testing/sdk/src/log/Logger.js?_dc=1339166302778 404 (Not Found) sencha-touch.js:7575[/COLOR]
- [COLOR=red !important]Uncaught Error: [Ext.Loader] Failed loading 'http://localhost/MyApp/build/testing/sdk/src/log/Logger.js', please verify that the file exists sencha-touch.js:7908[/COLOR]
-
8 Jun 2012 9:54 AM #8
-
8 Jun 2012 5:32 PM #9
Do you think it is the Sencha command related matter?
-
11 Jun 2012 2:32 AM #10
same issue
same issue
I have the same issue with the app failing to load Logger.js and that's both with a testing build and a production build.
When I try to reload I get a syntax error in line 56 of index.html


Reply With Quote

