`I got the source files of a project written in Ext JS, and the Readme.md file indicates that I need to execute the following command: 'sencha framework upgrade ext d:\Sencha\SDK\ext-6.5. 2'. I tried doing this, but I changed the path to where Sencha CMD is. From what I understand, the framework is downloaded with CMD, so now the command looks like this: 'sencha Framework update ext C:\Users\emushkov\bin\Sencha\Cmd\6.5.3.6. However, I received the following error: [ERR] Directory C:\Users\emushkov\Desktop\Lising\src\Client\ext is not recognized as a framework [INF] Upgrading framework ext [ERR] Unable to meet "modern" requirements ! [ERR] The following versions are not satisfied: [ERR] elp: modern (mismatch!) [ERR] Command must be run from the framework folder I don't understand the following:
But this didn't help either and resulted in the error I mentioned before. I also found on one of the forums that I need to specify the framework path in the file /.sencha/workspace/sencha.cfg but that didn't help either. `
Project structure
P粉0222857682024-02-22 09:57:48
The framework does not come with Sencha CMD (there are many versions), you have to download them manually and save to a local folder. You can have many different versions.
Whenever you create a new project using Sencha CMD or npm, the framework you choose will be copied to the ext
folder in the root of your project and generate files for your project ( app.json
, build.xml
, etc.)
So if you have an older version of Ext JS embedded in your project's ext
folder, you will need to run upgrade
. This will overwrite the files in the ext
folder and make any other adjustments needed for the project to be compatible with the upgraded version. Always make a complete backup before upgrading.