我有一个工作测试版本,我通过键入以下内容生成:
sencha app build testing
它工作正常,现在我很想在生产阶段测试煎茶速度。但我无法进行构建,我尝试sencha app build
了但我得到了一个通用错误,所以我尝试获取更多调试信息sencha -d app build
但是我不理解日志文件,找不到丢失的插件或类似的东西。
有人可以看看吗? https://raw.githubusercontent.com/Masegi/tmp/main/error1.log
我用“myapp1”替换我的应用程序名称,希望没关系。
这是我得到的一般错误:
[ERR] Caused by: java.lang.StackOverflowError
[ERR] at com.sencha.tools.compiler.sources.SymbolCache.getDefinedMembers(SymbolCache.java:917)
[ERR] at com.sencha.tools.compiler.sources.SymbolCache.getDefinedMembers(SymbolCache.java:918)
[ERR] at com.sencha.tools.compiler.sources.SymbolCache.getDefinedMembers(SymbolCache.java:918)
[ERR] at com.sencha.tools.compiler.sources.SymbolCache.getDefinedMembers(SymbolCache.java:918)
[ERR] at com.sencha.tools.compiler.sources.SymbolCache.getDefinedMembers(SymbolCache.java:918)
[ERR] at com.sencha.tools.compiler.sources.SymbolCache.getDefinedMembers(SymbolCache.java:918)
[ERR] at com.sencha.tools.compiler.sources.SymbolCache.getDefinedMembers(SymbolCache.java:918)
[ERR] at com.sencha.tools.compiler.sources.SymbolCache.getDefinedMembers(SymbolCache.java:922)
[ERR] at com.sencha.tools.compiler.sources.SymbolCache.getDefinedMembers(SymbolCache.java:918)
[ERR] at com.sencha.tools.compiler.sources.SymbolCache.getDefinedMembers(SymbolCache.java:922)
虽然我的测试版本运行良好:
Sencha Cmd v7.3.0.19
[INF] Processing Build Descriptor : desktop (testing environment)
[INF] Loading compiler context
[INF] Loading app json manifest...
[INF] Processing data with ClosureCompressor
[INF] JavaScript input level is NEXT and output level is ES5
[INF] Writing concatenated output to file /var/www/myapp1/build/testing/myapp1/generatedFiles/desktop/app.js
[INF] merging 863 input resources into /var/www/myapp1/build/testing/myapp1/desktop/resources
[INF] merged 0 resources into /var/www/myapp1/build/testing/myapp1/desktop/resources
[INF] merging 501 input resources into /var/www/myapp1/build/testing/myapp1
[INF] merged 0 resources into /var/www/myapp1/build/testing/myapp1
[INF] Writing content to /var/www/myapp1/build/temp/testing/myapp1/slicer-temp/bootstrap.json
[INF] Writing content to /var/www/myapp1/build/temp/testing/myapp1/slicer-temp/bootstrap.js
[INF] writing sass content to /var/www/myapp1/build/temp/testing/myapp1/sass/myapp1-all.scss.tmp
[INF] appending sass content to /var/www/myapp1/build/temp/testing/myapp1/sass/myapp1-all.scss.tmp
[INF] appending sass content to /var/www/myapp1/build/temp/testing/myapp1/sass/myapp1-all.scss.tmp
[INF] Writing content to /var/www/myapp1/build/testing/myapp1/generatedFiles/desktop.json
[LOG] Fashion build starting for /var/www/myapp1/build/temp/testing/myapp1/sass/myapp1-all.scss
[LOG] Fashion build complete for /var/www/myapp1/build/temp/testing/myapp1/sass/myapp1-all.scss
[LOG] Fashion build completed in 2.673 sec.
[INF] Copying page resources to /var/www/myapp1/build/testing/myapp1
[INF] Writing content to /var/www/myapp1/build/testing/myapp1/generatedFiles/desktop.json
[INF] Writing content to /var/www/myapp1/build/testing/myapp1/microloader.js
[INF] Appending content to /var/www/myapp1/build/testing/myapp1/microloader.js
[INF] Building output markup to /var/www/myapp1/build/testing/myapp1/index.php
[INF] Writing content to /var/www/myapp1/build/testing/myapp1/index.php
[INF]
[INF] ======================================================================
[INF]
[INF] Processing Build Descriptor : phone (testing environment)
[INF] Loading compiler context
[INF] Loading app json manifest...
[INF] Processing data with ClosureCompressor
[INF] JavaScript input level is NEXT and output level is ES5
[INF] Writing concatenated output to file /var/www/myapp1/build/testing/myapp1/generatedFiles/phone/app.js
[INF] merging 863 input resources into /var/www/myapp1/build/testing/myapp1/phone/resources
[INF] merged 0 resources into /var/www/myapp1/build/testing/myapp1/phone/resources
[INF] merging 501 input resources into /var/www/myapp1/build/testing/myapp1
[INF] merged 0 resources into /var/www/myapp1/build/testing/myapp1
[INF] Writing content to /var/www/myapp1/build/temp/testing/myapp1/slicer-temp/bootstrap.json
[INF] Writing content to /var/www/myapp1/build/temp/testing/myapp1/slicer-temp/bootstrap.js
[INF] writing sass content to /var/www/myapp1/build/temp/testing/myapp1/sass/myapp1-all.scss.tmp
[INF] appending sass content to /var/www/myapp1/build/temp/testing/myapp1/sass/myapp1-all.scss.tmp
[INF] appending sass content to /var/www/myapp1/build/temp/testing/myapp1/sass/myapp1-all.scss.tmp
[INF] Writing content to /var/www/myapp1/build/testing/myapp1/generatedFiles/phone.json
[LOG] Fashion build starting for /var/www/myapp1/build/temp/testing/myapp1/sass/myapp1-all.scss
[LOG] Fashion build complete for /var/www/myapp1/build/temp/testing/myapp1/sass/myapp1-all.scss
[LOG] Fashion build completed in 2.587 sec.
[INF] Copying page resources to /var/www/myapp1/build/testing/myapp1
[INF] Writing content to /var/www/myapp1/build/testing/myapp1/generatedFiles/phone.json
[INF] Writing content to /var/www/myapp1/build/testing/myapp1/microloader.js
[INF] Appending content to /var/www/myapp1/build/testing/myapp1/microloader.js
[INF] Building output markup to /var/www/myapp1/build/testing/myapp1/index.php
[INF] Writing content to /var/www/myapp1/build/testing/myapp1/index.php
我的 java 版本是:Java(TM) SE Runtime Environment (build 1.8.0_271-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
我的 javac 版本是:javac 1.8.0_271
编辑2:
当我输入sencha ant build
它输出:
[ERR] Failed to resolve dependency Ext.chart.legend.LegendBase for file Ext.chart.legend.Legend
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.chart.legend.LegendBase
[ERR]
[ERR] Total time: 3 seconds
所以它与图表有关,但它们正在测试/开发构建中工作。