PDA

View Full Version : ReferenceError: Loader is not defined



ext-spring-mvc
28 Jun 2011, 1:15 PM
I was trying to use 'sencha.sh' under jsbuilder in linux, got following error:

jsbuilder/bin/Dispatch.js:5 ReferenceError: Loader is not defined

var JSBuilderPath = system.cwd + '/'; // what does 'system.cwd' mean?

ext-spring-mvc
29 Jun 2011, 4:16 AM
alright, after went through some posts here, I found that somehow the builder comes with extjs package doesn't work well.

downloaded SDK tools 1.2.1, now new problem. when I tried to create jsb file, got following three lines messages and process just hanged there forever. any idea? the message doesn't have enough information to locate the trouble maker?

undefined:0 TypeError: 'null' is not a constructor
undefined:0 TypeError: 'null' is not a constructor
undefined:0 TypeError: 'null' is not a constructor

AxelMR
7 Jul 2011, 10:03 AM
With SenchaSDKTools have to do the construction of the following form:



sencha create jsb -a http://localhost/YourApp/index.html -p app.jsb3

sencha build -p app.jsb3 -d .

ext-spring-mvc
7 Jul 2011, 10:11 AM
With SenchaSDKTools have to do the construction of the following form:

yes, this two command lines are well documented. I am stuck at the first step where the error message doesn't help to identify the problem.

kshepitzki
19 Sep 2011, 3:42 AM
Did you ever get a solution for this?

Dehru
28 Sep 2011, 12:00 PM
I had a few lines of javascript above the Ext.application({}) in app.js. Removing those lines enabled me to create the .jsb3 file.

iranphpmaster
24 Oct 2011, 5:55 PM
it work, tahnk you! ;)

iranphpmaster
24 Oct 2011, 5:56 PM
yes, this two command lines are well documented. I am stuck at the first step where the error message doesn't help to identify the problem.

it work for me, thank you