Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

求node包(download-git-repo)的使用方法!

$
0
0

想构建一个脚手架,但是用download-git-repo报错:‘git clone’ failed with status 128

download(‘github地址’, process.cwd(), { clone: true }, function (err) { if (err) console.log(err) })

求指点这个包怎么用?我想让脚手架工具的模板是从github上下载的而不是和工具放在一起的!


Viewing all articles
Browse latest Browse all 14821

Trending Articles