sencha cmd build 的几个问题

1. 老的sdk2.0 已经不能用了,否则会出现莫名奇妙的问题,具体错误log我没记,反正别用2.0.0sdk就是了

2. 老的创建的app使用新的3.0编译会报错

[ERR]           Please ensure this command was executed from a valid application
 directory
[ERR]           Unable to locate 'app.dir' config property from sencha.cfg

最好新建一个app,把代码移进去或者upgrade一下

我用的前者


3. 新建的app直接build也会报错

[ERR]           com.sencha.exceptions.BasicException: The following error occurr
ed while executing this line:
D:\PHPnow\htdocs\testapp\.sencha\app\build-impl.xml:109: The following error occ
urred while executing this line:
jar:file:/C:/Users/yibo/bin/Sencha/Cmd/3.0.2.288/sencha.jar!/com/sencha/ant/antl
ib.xml:364: shellscript returned: 1


解决: 在touch/cmd/sencha.cfg头部中加入skip.sass=1

很变态的问题,折腾了我一晚上

你可能感兴趣的:(cmd,Build,sencha)