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

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

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值