fex-team / GMU

基于zepto的ui组件库,适用于移动端
1.09k stars 414 forks source link

关于入门介绍的问题 #203

Open miller opened 10 years ago

miller commented 10 years ago

由群友 Joel 反馈

我在windows下安装有两个地方被卡住 1:npm install 的时候phantomjs-1.9.7 这个文件是下载不了的 要先翻墙或者手动下载到那个目录才行 2: grunt dist ...这命令要在git bash命令行下面用才行 否则会报 error git Use

minerchow commented 10 years ago

第二条我试过,即使在git bash下,同样会报错

wteam-xq3 commented 10 years ago

顶楼上, 我这边也遇到这种情况了? 楼上 怎么解决的?@minerchow 提示如下:

$ grunt dist
Running "update_submodules" task
Warning: Error: not found: git Use --force to continue.

Aborted due to warnings.
2betop commented 10 years ago

@wteam-xq3 得是 git 仓库才行,换句话说,就是要通过 git clone 下来的目录,或者执行过 git init 的 目录才行。

wteam-xq3 commented 10 years ago

@2betop 确认过,执行“grunt dist”的目录有“.git”文件夹, 照着git 和 下载页面的教程 多试了几遍还是这样;

justqyx commented 9 years ago

文档写成这样!Gruntfile.js 根本就没有定义这个任务。 Get Started 这份文档 就算是一个有经验的人,估计也是看不明白! 让人怀疑写文档的人的态度。