0
我打包https://github.com/bmoeskau/Extensible找到类:煎茶应用程序不包
sencha generate package -type code calendar
然后我说行
package.framework=ext
到.sencha /包中包/ sencha.cfg。
和所需的包在我的应用程序的app.json:
/**
* The list of required packages (with optional versions; default is "latest").
*
* For example,
*
* "requires": [
* "sencha-charts"
* ]
*/
"requires": [
"calendar"
],
包成功编译使用sencha package build
,但是当我运行sencha app refresh
或sencha 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
我若从例的日历示例 FO Ext JS 5的版本,并以同样的方式打包,它的工作原理。
也许它与Extensible
命名空间有关?我错过了关键的东西吗?