install sencha-touch 2.1 on mac

隐身守侯 提交于 2019-12-01 01:51:26

Download and install Sencha Cmd : http://www.sencha.com/products/sencha-cmd/download

Then ensure that the path for Sencha Cmd is in your .bash_profile:

export PATH=/path/to/Sencha/cmd/3.0.0.250:$PATH(it will be located in you your 'bin' directory)

Save your .bash_profile and restart Terminal.

Edit: You can also try adding the path to your .bashrc as well. Then restart your terminal and try running sencha again.

Lastly to verify that Sencha Cmd is in your path do echo $PATH.

The Sencha Touch Sdk contains only the classes which contains the framework, plus examples and docs. If you want to generate an app, compile it, etc. using the Sencha command from a terminal, you need to install the Sencha Cmd then. That's a different product.

You can read more at the following guide: http://docs.sencha.com/touch/2-1/#!/guide/command

And download the latest version from here: http://www.sencha.com/products/sencha-cmd/download

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!