为了账号安全,请及时绑定邮箱和手机立即绑定

关于git ls-remote时出错

关于git ls-remote时出错

UYOU 2019-04-08 11:19:02
请看操作命令:C:\Users\macrotea>pingwww.github.com正在Pinggithub.com[192.30.252.128]具有32字节的数据:来自192.30.252.128的回复:字节=32时间=260msTTL=44来自192.30.252.128的回复:字节=32时间=268msTTL=44来自192.30.252.128的回复:字节=32时间=257msTTL=44来自192.30.252.128的回复:字节=32时间=258msTTL=44192.30.252.128的Ping统计信息:数据包:已发送=4,已接收=4,丢失=0(0%丢失),往返行程的估计时间(以毫秒为单位):最短=257ms,最长=268ms,平均=260msC:\Users\macrotea>typec:\Users\macrotea\.gitconfig[user]name=macroteaemail=macrotea@qq.com[alias]ci=commitco=checkoutst=statusbr=branchthrow=reset--hardHEADthrowh=reset--hardHEAD^C:\Users\macrotea>git--versiongitversion1.8.5.2.msysgit.0C:\Users\macrotea>gitls-remote--tags--headsgit://github.com/twbs/bootstrap.gitfatal:unabletoconnecttogithub.com:github.com[0:192.30.252.128]:errno=NoerrorC:\Users\macrotea>ping192.30.252.128正在Ping192.30.252.128具有32字节的数据:来自192.30.252.128的回复:字节=32时间=360msTTL=44来自192.30.252.128的回复:字节=32时间=360msTTL=44来自192.30.252.128的回复:字节=32时间=360msTTL=44来自192.30.252.128的回复:字节=32时间=354msTTL=44192.30.252.128的Ping统计信息:数据包:已发送=4,已接收=4,丢失=0(0%丢失),往返行程的估计时间(以毫秒为单位):最短=354ms,最长=360ms,平均=358msC:\Users\macrotea>why?help!thanks!此问题来源于当使用Yeoman进行yowebapp时出错:npmhttp304https://registry.npmjs.org/grunt-autoprefixernpmhttp304https://registry.npmjs.org/grunt-svgminbowerbootstrap#~3.0.3ECMDERRFailedtoexecute"gitls-remote--tags--headsgit://github.com/twbs/bootstrap.git",exitcodeof#128Additionalerrordetails:fatal:unabletoconnecttogithub.com:github.com[0:192.30.252.129]:errno=Noerrorevents.js:74throwTypeError('Uncaught,unspecified"error"event.');^TypeError:Uncaught,unspecified"error"event.atTypeError()atAppgenerator.EventEmitter.emit(events.js:74:15)atdone(C:\Users\macrotea\AppData\Roaming\npm\node_modules\generator-webapp\node_modules\yeoman-generator\lib\base.js:318:16)atC:\Users\macrotea\AppData\Roaming\npm\node_modules\generator-webapp\node_modules\yeoman-generator\node_modules\async\lib\async.js:232:13atC:\Users\macrotea\AppData\Roaming\npm\node_modules\generator-webapp\node_modules\yeoman-generator\node_modules\async\lib\async.js:113:21atC:\Users\macrotea\AppData\Roaming\npm\node_modules\generator-webapp\node_modules\yeoman-generator\node_modules\async\lib\async.js:24:16atC:\Users\macrotea\AppData\Roaming\npm\node_modules\generator-webapp\node_modules\yeoman-generator\node_modules\async\lib\async.js:229:17atC:\Users\macrotea\AppData\Roaming\npm\node_modules\generator-webapp\node_modules\yeoman-generator\node_modules\async\lib\async.js:516:34atAppgenerator.(C:\Users\macrotea\AppData\Roaming\npm\node_modules\generator-webapp\node_modules\yeoman-generator\lib\actions\install.js:43:7)atChildProcess.EventEmitter.emit(events.js:117:20)望君多指点!
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 314 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信