PDA

View Full Version : Error when running sencha to build JSB3 deployment file



extjsnb
27 Jul 2011, 11:08 AM
Hello,

I am a newbie to extjs and want to know if I missed a step in the installation of the Sencha SDK Tools. I'm following the extjs tutorial, and try to run:

sencha create jsb -a index.html -p app.jsb3

I get the following error message because sencha can't be found as a valid application:

'sencha' is not recognized as an internal or external command, operable program or batch file.


Do you know how I can run sencha to build the JSB3 deployment file?

Many thanks for your time!

rubyrain
31 Aug 2011, 7:45 PM
By looking at the post date, I'm assuming that this problem has been resolved by now, but I'll post this for reference.

The installer installs sdk tool and adds path to ~/.profile (or ~/.bash_profile, mine was .profile)

You can reload this profile by typing this in the terminal then press enter:

source ~/.profile

oz-on
16 Sep 2011, 2:00 AM
Any solution for Windows XP?

I checked my environment variables, but nothing was set there.

rubyrain
16 Sep 2011, 8:02 AM
Err, have you tried restarting cmd?

Ashwin.sharma
9 Mar 2012, 9:21 AM
The installer installs sdk tool and adds path to ~/.profile (or ~/.bash_profile, mine was .profile)


I am just extracting extjs to the project folder. This is what is mentioned in getting started doc. I do not understand how extracting will set the path variable. Is there something else I am missing while installation?