【问题标题】:Getting helper messages while generating extjs6 application by using sencha command使用 sencha 命令生成 extjs6 应用程序时获取帮助消息
【发布时间】:2016-11-02 13:53:23
【问题描述】:

然后我安装了 Snecha 并下载了 Extjs6

sencha -sdk home/apps/ext-6.0.1 generate app loginapp6 /home/Senchaapplications/loginapp6

那么输出是:

Sencha Cmd v6.2.0.103
Sencha Cmd provides several categories of commands and some global switches. In
most cases, the first step is to generate an application based on a Sencha SDK
such as Ext JS or Sencha Touch:

    sencha -sdk /path/to/sdk generate app MyApp /path/to/myapp

Sencha Cmd supports Ext JS 4.1.1a and higher and Sencha Touch 2.1 and higher.

To get help on commands use the help command:

    sencha help generate app

For more information on using Sencha Cmd, consult the guides found here:

http://docs.sencha.com/cmd/


Options
  * --beta, -be - Enable beta package repositories
  * --cwd, -cw - Sets the directory from which commands should execute
  * --debug, -d - Sets log level to higher verbosity

  * --sdk-path, -sd - The location of the SDK to use for non-app commands
  * --strict, -st - Treats warnings as errors, exiting with error if any warnings are present
  * --time, -ti - Display the execution time after executing all commands

Categories
  * app - Perform various application build processes
  * compass - Wraps execution of compass for sass compilation
  * compile - Compile sources to produce concatenated output and metadata
  * cordova - Quick init Support for Cordova
     * phonegap - Quick init support for PhoneGap
  * repository - Manage local repository and remote repository connections
  * template - Commands for working with templates
  * theme - Commands for low-level operations on themes
  * web - Manages a simple HTTP file server
  * workspace - Commands to perform actions on the current workspace

Commands
  * upgrade - Upgrades Sencha Cmd
  * which - Displays the path to the current version of Sencha Cmd

它应该生成经典和现代的loginapp6文件夹,但它不是。

这可能是什么原因?

【问题讨论】:

    标签: extjs extjs6 sencha-cmd


    【解决方案1】:

    在我的情况下,它是由于系统用户名为更改而引发的。 我将系统名称 KIGNs 更改为 Learner。在此更改之后如果安装并尝试使用 sencha 生成 Extjs6 应用程序,它不会生成。

    我删除了 sencha cmd,然后我创建了一个新用户为 admin ,然后以新用户身份登录并再次安装了 sencha,现在它的 ExtJS 应用程序正在生成。

    【讨论】:

      【解决方案2】:

      目前您使用的是更高版本的 sencha 命令。

      sencha cmd : v6.2.0.103
      ExtJs SDK : ext-6.0.1

      从这里下载 sencha CMD 的低版本:

      https://www.sencha.com/products/extjs/cmd-download/

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-10-09
        • 2021-09-16
        • 1970-01-01
        • 2020-10-29
        • 2017-08-14
        • 1970-01-01
        相关资源
        最近更新 更多