想构建一个脚手架,但是用download-git-repo报错:‘git clone’ failed with status 128
download(‘github地址’, process.cwd(), { clone: true }, function (err) { if (err) console.log(err) })
求指点这个包怎么用?我想让脚手架工具的模板是从github上下载的而不是和工具放在一起的!
想构建一个脚手架,但是用download-git-repo报错:‘git clone’ failed with status 128
download(‘github地址’, process.cwd(), { clone: true }, function (err) { if (err) console.log(err) })
求指点这个包怎么用?我想让脚手架工具的模板是从github上下载的而不是和工具放在一起的!