我正在尝试使用 Cmd v5.0.0.160 构建 extjs5 应用程序。
我在我的 PATH var 上安装了 ruby2.0 和 sencha cmd。
这是我在运行时遇到的错误sencha app build
:
...
[INF] Capturing theme image
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExProcess: Failed creating background process
[ERR] at com.sencha.command.plugin.PluginManager.executeRe
[ERR] verseFirst(PluginManager.java:134)
[ERR]
[ERR] Total time: 9 seconds
[ERR] The following error occurred while executing this line:
/local/dev/PROJECTS2/loc-ext/loc-ext/.sencha/app/build-impl.xml:326: The following error occurred while executing this line:
/local/dev/PROJECTS2/loc-ext/loc-ext/.sencha/app/slice-impl.xml:239: The following error occurred while executing this line:
/local/dev/PROJECTS2/loc-ext/loc-ext/.sencha/app/slice-impl.xml:240: The following error occurred while executing this line:
/local/dev/PROJECTS2/loc-ext/loc-ext/.sencha/app/slice-impl.xml:111: com.sencha.exceptions.ExProcess: Failed creating background process
该应用程序在开发模式下工作正常(sencha app watch)。
因为它看起来像是关于主题的,所以我没有使用自定义主题,而是使用 ext-theme-neptune。
有没有人知道它是关于什么的?我会很感激任何想法!
解决方案:
调试模式显示问题出在缺少目录中Cmd/5.0.0.160/bin/linux-x64
。但是有Cmd/5.0.0.160/bin/linux
目录,因此软链接linux
可以linux-x64
解决问题。