When running the command "sencha framework upgrade ext C:\Users\emushkov\bin\Sencha\Cmd\6.5.3.6", a series of errors appear in the command prompt window
P粉785522400
P粉785522400 2024-02-21 16:27:04
0
1
290

`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:

  1. Is the framework bundled with Sencha CMD or does it need to be downloaded separately?
  2. If I have already installed version 6.5.2 locally, why do I still need to execute the command "sencha Framework Upgrade ext d:\Sencha\SDK\ext-6.5.2"? First, I tried running this command, not from the project directory, but from the framework directory, but I got the following error: "The command must be run from the workspace folder." I then returned to the project directory and received this error: "Framework ext does not exist, adding to workspace.json.

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粉785522400
P粉785522400

reply all(1)
P粉022285768

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!