PDA

View Full Version : Cmd Error on "Create New Theme"



Denis Sultanov
4 Apr 2017, 2:43 AM
56116



[2017-04-04 13:35:19.134] [INFO] [default] - Sencha Themer listening at http://localhost:8900/Editor[2017-04-04 13:35:28.299] [DEBUG] [default] - "sencha switch --list" output: Sencha Cmd
Looking for versions at: C:\Users\Denis.Sultanov\bin\Sencha\Cmd


Current version



Newest version installed



Locally available versions


[2017-04-04 13:35:28.299] [ERROR] [default] - Error executing sencha switch --list Cannot read property '1' of null TypeError: Cannot read property '1' of null
at Function.cmdVersion (C:\Users\Denis.Sultanov\bin\Sencha\Themer\resources\app.asar\node_modules\sencha-cmd\index.js:110:55)
at router.get (C:\Users\Denis.Sultanov\bin\Sencha\Themer\resources\app.asar\themer\controllers\config.js:32:35)
at Layer.handle [as handle_request] (C:\Users\Denis.Sultanov\bin\Sencha\Themer\resources\app.asar\node_modules\express\lib\router\layer.js:95:5)
at next (C:\Users\Denis.Sultanov\bin\Sencha\Themer\resources\app.asar\node_modules\express\lib\router\route.js:131:13)
at Route.dispatch (C:\Users\Denis.Sultanov\bin\Sencha\Themer\resources\app.asar\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (C:\Users\Denis.Sultanov\bin\Sencha\Themer\resources\app.asar\node_modules\express\lib\router\layer.js:95:5)
at C:\Users\Denis.Sultanov\bin\Sencha\Themer\resources\app.asar\node_modules\express\lib\router\index.js:277:22
at Function.process_params (C:\Users\Denis.Sultanov\bin\Sencha\Themer\resources\app.asar\node_modules\express\lib\router\index.js:330:12)
at next (C:\Users\Denis.Sultanov\bin\Sencha\Themer\resources\app.asar\node_modules\express\lib\router\index.js:271:10)
at Function.handle (C:\Users\Denis.Sultanov\bin\Sencha\Themer\resources\app.asar\node_modules\express\lib\router\index.js:176:3)
[2017-04-04 13:35:59.645] [ERROR] [default] - -sdk C:\Projects\Zetta\main\FrontOffice\Z-Scripts\Ext-6.2.1 generate workspace --path C:\Projects\Zetta\main\FrontOffice\Z-Scripts\Themes died with code 22 []
[2017-04-04 13:35:59.645] [ERROR] [default] - Cmd Error Error: Cmd Error
at SenchaCmdError (C:\Users\Denis.Sultanov\bin\Sencha\Themer\resources\app.asar\node_modules\sencha-cmd\errors\SenchaCmdError.js:5:9)
at SenchaCmd._closeHandler (C:\Users\Denis.Sultanov\bin\Sencha\Themer\resources\app.asar\node_modules\sencha-cmd\index.js:232:32)
at ChildProcess.g (events.js:286:16)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

dan.buhrman
5 Apr 2017, 5:58 AM
It looks like something is wrong with your Cmd install, or at least Themer isn't playing nicely with it.

If you run `sencha switch --list` from the command-line, are any versions printed?

You can try (re-)installing the latest Cmd 6.2.2 and see if that helps resolve the issue. Also try changing Themer's Preferences and give it an explicit path to your Cmd install.