2

My build is failing in my ExtJS 5 project - I am using Ubuntu 15 desktop version.

[ERR] com.sencha.exceptions.ExProcess: Failed creating background process
[ERR] at com.sencha.command.plugin.PluginManager.executeRe
[ERR] verseFirst(PluginManager.java:134)

Sencha Cmd terminal output

Emissary
  • 9,954
  • 8
  • 54
  • 65
Abi Net Sf
  • 21
  • 1
  • Can you provide some code you have tried? – jhhoff02 Jan 30 '17 at 13:15
  • 1
    You can try to run it with `--debug` it can provide you much more info. Btw I have read somewhere that ruby version can affect this, you can try to upgrade to latest, or rather downgrade some older one. – pagep Jan 30 '17 at 13:21
  • Have you installed sencha utility for ubuntu system ? How are you doing build. – Tejas Jan 30 '17 at 15:32

2 Answers2

0

Older versions of Sencha Cmd were dependent on Ruby 1.9.3 or below. It's likely this is the cause as Ruby is being used to compile Sass themes and the [INF] lines immediately above the error indicate that this step is where the build process is failing.

You can verify which version you currently have by running ruby -v in your terminal window. If you'd rather not downgrade Ruby - you could instead try upgrading your version of Sencha Cmd as later versions were patched to work with Ruby 2.

If you do try to upgrade Cmd, the build might complain about differing project and compiler versions - you can run the following inside your existing ExtJS project directory (do a backup first) to upgrade the build configuration independently of the framework:

sencha app upgrade --noframework
Emissary
  • 9,954
  • 8
  • 54
  • 65
0

Thanks all, I uninstalled sencha cmd 5.1.1 and installed sencha cmd 6, then it worked perfectly, thanks for the support.

Abi Net Sf
  • 21
  • 1