当前位置:编程学习 > 网站相关 >>

sencha cmd build 的几个问题

1. 老的sdk2.0 已经不能用了,否则会出现莫名奇妙的问题,具体错误log我没记,反正别用2.0.0sdk就是了
2. 老的创建的app使用新的3.0编译会报错  www.zzzyk.com
[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
很变态的问题,折腾了我一晚上
补充:综合编程 , 其他综合 ,
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,