即使有正确的 cmd 和框架兼容版本也无法构建 sencha 应用程序

Mal*_*lil 5 javascript extjs build sencha-cmd

所有代码中都没有调试器。在本地一切都很好。但是一旦我开始构建应用程序,它就会显示以下错误。此外,在开发文件夹中一切正常。但是,当我尝试创建生产版本时,出现以下错误。

[ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExNotFound: Failed to find mixin class: mymixin.language
    [ERR]
    [ERR] Total time: 6 seconds
    [ERR] The following error occurred while executing this 
    line:C:\TestApp\apps\myapp_dev\.sencha\app\build-impl.xml:367: The following error occurred while executing this line:C:\TestApp\apps\myapp_dev\.sencha\app\js-impl.xml:11: com.sencha.exceptions.ExNotFound: Failed to find mixin class: boseui.language9:35:39 PM"C:/Users/myaccount/bin/Sencha/Cmd/4.0.4.84/sencha" app refresh
Run Code Online (Sandbox Code Playgroud)

小智 0

在开发构建中,没有严格的要求执行,它将用于生产构建。如果在应用程序或应用程序使用的包中的任何位置引用该特定类,则有必要拥有该文件并使用“必需”配置导入它,只要有使用的地方。