I have ext js 6.5 and sencha cmd 6.2. while trying to create an app with ext js sdk it fails. I would like to know which cmd version is compatible with ext js 6.5 sdk.
There is an outdated Cmd Compatibility Matrix in Sencha Cmd Guides. But, as you can observe from it, the minimum cmd version for Ext JS 5.1.0 is 5.1.0, which means that the previous 5.0.1 Cmd version is not working. There were quite some changes introduced in ExtJS 6.5 and it's not a surprise to me that it doesn't work with Cmd 6.2. You can easily upgrade Cmd by running: sencha upgrade.
If you have other projects that rely on older versions of Cmd (theoretically the latest version would be able to handle them), you can switch easily between versions.
First use the sencha which command that will display the active Cmd version.
Then you can use sencha switch --list command that will display all the version installed on your machine. After that you can easily switch to the required version by running sencha switch %version_number%.
Related
I used the EXT JS 6.2 (GPL) in combination with Sencha CMD 6.5 but encountered various problems.
Which Sencha CMD version do I need (is recommended) in order to properly work with EXT JS (GPL) version?
Is there is any way to build Extjs 4.2 application without including the Ext libraries. Till now I have used sencha cmd to generate and build my app. But now the Ext libraries are on server side and I have to build my application without including Ext libraries.
Can I do it using Sencha cmd or any other tool?
Kindly help.
I'm not entirely clear on what the problem is (Ext JS library being "on the server") but yes, you can build an Ext JS application without Sencha Cmd (example is for v5.1, but applies to all versions).
In order to use Sencha Cmd, you do need a copy of the SDK locally. I'm not sure why you can't simply copy it to your local machine (it should be checked into your SVN/Git/etc repo...), but you don't need Sencha Cmd to build a Sencha application.
When I got into Sencha Touch world I started using Sencha CMD 5 along with Sencha Touch 2.3.1.
I However, I started to find the 5 versions not stable, they are running into many problems.
I am about to release my App and I am in need for a stable version in all aspects (Production, Native and Testing).
Would it be a good idea to use the latest CMD 4.0.4.84? Is it considered stable?
Yes, Sencha CMD 5 was built for Ext JS 5.
It is recommend to use Sencha Cmd 4.0.4.84 for Touch 2.3 projects.
I need to build different Ext Js projects with different Ext Js framework versions. They also need different versions of Sencha Cmd for building (3.0.2.288 and 3.1.2.342). Generally it is possible to install two versions of Sencha Cmd side by side.
Do you think it is save to run multiple versions of Sencha Cmd side by side?
I found the answer in the advanced Cmd documentation, section "Multiple Installed Versions". One can install multiple Sencha Cmd version side by side, AND Sencha Cmd will also try to use the correct version depending on the project. So, its a documentated feature!
I can not find the Sencha Cmd in the sencha-touch-2.0.0-gpl file and SenchaSDKTools file. Can someone point it out to me, or is there a reason that it is not there?
Sencha Cmd is not provided with the framework. You need to download it separately
Also so you need to know that you Sencha Cmd does not work with Sencha Touch 2.0. It only works with Sencha Touch 2.1.0 and latest versions.
If you really don't want to upgrade to Sencha Touch 2.1 (which I don't recommend) then you need to use Sencha SDK Tools.
Download Sencha Cmd for Sencha Touch > 2.1.0 - Documentation
Download Sencha SDK Tools for Sencha Touch < 2.1.0 - Documentation