不知何时开始,sencha cmd 一直有下面的警告
Sencha Cmd v6.5.3.6
[INF] Processing Build Descriptor : classic (production environment)
[WRN] the following remote package repository directories did not initialize properly :
[WRN] - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
[WRN] the following remote package repository directories did not initialize properly :
[WRN] - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
[WRN] the following remote package repository directories did not initialize properly :
[WRN] - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
[WRN] the following remote package repository directories did not initialize properly :
[WRN] - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
意思是 sencha-beta 仓库初始化不正确
解决办法
编辑 C:\Users\<USER_NAME>\bin\Sencha\Cmd\repo\.sencha\repo\remotes\sencha-beta\sencha.cfg
加入
repo.remote.beta=true
repo.remote.priority=0
repo.remote.url=http\://cdn.sencha.com/cmd/beta/packages/
repo.remote.type=HTTP