If running sencha results in the error message sencha: command not found on OSX/Linuxor 'sencha' is not recognized as an internal or external command, operable program orbatch file on Windows, follow these steps:
The sencha app build command works by reading your index.html and scanning forrequired classes. If your application does not properly declare the classes it requires,the build usually completes but will not contain all the classes needed by yourapplication.
A Jre Is Required To Download And Run Sencha Command In Linux