sencha cmd - Why do I get an error when upgrading from ExtJS 4.2.1 to ExtJS 5? -


i executed following specified in extjs 5 upgrade guide:

sencha app upgrade -ext

and got output error:

sencha app upgrade -ext sencha cmd v5.0.0.160 [inf] downloading ext package... [inf] source file : http://cdn.sencha.com/cmd/packages/e....0.970/ext.pkg [inf] downloading : .................... [inf] extracting ext package... [inf] package local: ext/5.0.0.970 [inf] extracting : .................... [inf] loading configuration framework directory: c:\sencha\cmd\repo\extract\ext\5.0.0.970 [inf] removing existing framework @ c:\atlantis\amc\gui\src\main\ext [inf] upgrading application [inf] upgrading sdk @ c:\atlantis\amc\gui\src\main\ext [inf] updating application , workspace ext js 4.2.1.883 / cmd 4.0.2.67 [wrn] use merge tool resolve conflict: c:\atlantis\amc\gui\src\main\usx\.sencha\app\sencha.cfg [err] [err] build failed [err] com.sencha.exceptions.exprocess: failed creating background process [err] [err] total time: 1 second [err] org.mozilla.javascript.wrappedexception: wrapped com.sencha.exceptions.basicexception: com.sencha.exceptions.exprocess: failed creating background process (c:\sencha\cmd\5.0.0.160\ant\ant-util.js#849) [err] application last modified older version of sencha cmd (4.0.2.67) current 5.0.0.160. please run "sencha app upgrade" update 5.0.0.160. 

and when execute "sencha app upgrade" this:

sencha cmd v5.0.0.160 [inf] upgrading application [inf] upgrading sdk @ c:\atlantis\amc\gui\src\main\ext [inf] updating application , workspace ext js 4.2.1.883 / cmd 3.0.0.250 [err] org.mozilla.javascript.wrappedexception: wrapped java.lang.nullpointerexception (anonymous#336) [err] application last modified older version of sencha cmd (0.0.0.0) current 5.0.0.160. please run "sencha app upgrade" update 5.0.0.160.  

try adding app.cmd.version=3.0.0.250 (or whatever version of cmd were running) app's sencha.cfg file. works me.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -