> Sencha which
若碰到所下載的Sencha Cmd與指定的sdk版本不相符,此時進行generate會出現錯誤。
Please run "sencha package upgrade" to update to 6.0.1.76.
> sencha -sdk D:\extjs\ext-6.0.0\ext-6.0.0 generate app HelloWorld D:\Sencha\HelloWorld
需要透過命令列執行sencha package upgrade方可正常進行。
> cd D:\extjs\ext-6.0.0-gpl\ext-6.0.0
> sencha package upgrade
> sencha package upgrade