Sencha App在package中找不到class



我打包了https://github.com/bmoeskau/Extensible:

sencha generate package -type code calendar

然后加上

一行
package.framework=ext

.sencha/package/sencha.cfg中的

并且需要app中的包。Json my app:

/**
 * The list of required packages (with optional versions; default is "latest").
 *
 * For example,
 *
 *      "requires": [
 *          "sencha-charts"
 *      ]
 */
"requires": [
    "calendar"
],

使用sencha package build成功编译包,但当我运行sencha app refreshsencha app build来构建需要包的应用程序时,发生以下错误:

$ sencha app refresh
Sencha Cmd v5.1.3.61
[INF] Processing Build Descriptor : default
[INF] Loading app json manifest...
[ERR] C2008: Requirement had no matching files (Extensible.calendar.CalendarPanel) -- /.../app/view/main/Main.js:20:442
[ERR] 
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: Failed to find any files for /.../app/view/main/Main.js::ClassRequire::Extensible.calendar.CalendarPanel
[ERR] 
[ERR] Total time: 4 seconds
[ERR] The following error occurred while executing this line:
/Users/me/bin/Sencha/Cmd/5.1.3.61/plugins/ext/current/plugin.xml:403: The following error occurred while executing this line:
/.../.sencha/app/build-impl.xml:378: The following error occurred while executing this line:
/.../.sencha/app/init-impl.xml:303: com.sencha.exceptions.ExBuild: Failed to find any files for /.../app/view/main/Main.js::ClassRequire::Extensible.calendar.CalendarPanel

如果我从Ext JS 5的examples文件夹中取出日历示例,并以相同的方式打包,它就可以工作了。

也许它与Extensible命名空间有关?我错过了什么重要的东西吗?

我有一个名称为"calendar"的旧包。我的packages目录下的Json文件。尽管旧包的文件夹名称与它的名称不匹配,但当我编译应用程序时,它会首先加载。我在它的包中重命名了这个包。json文件。