PDA

View Full Version : sencha create jsb questions [version 1.2.3 on Ubuntu]



jlindbergh
7 Mar 2012, 7:51 AM
Hi!
I'm having trouble running the sencha tools on my project.

The first issue is the following:

undefined:0 ReferenceError: Can't find variable: RemoteNs
This is due to using extdirectspring, and the way it works (see http://code.google.com/p/extdirectspring/wiki/Api under "Example"). This works fine in a runtime environment but not when running sencha tools. Is there some way to ignore this error?

To move along I temporarily commented out the usage of Ext.Direct.addProvider(RemoteNs.REMOTEAPI); (effectively breaking the app), but I still get an error:

sh: getcwd() failed: No such file or directory
sh: getcwd() failed: No such file or directory
What does this mean?

best regards
/jlindbergh

mitchellsimoens
7 Mar 2012, 10:07 AM
getcwd attempts to get the current working directory.

jlindbergh
7 Mar 2012, 10:16 AM
Hmm, any idea as to why that is failing?