猿问

关于git ls-remote时出错

请看操作命令:
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=44
192.30.252.128的Ping统计信息:
数据包:已发送=4,已接收=4,丢失=0(0%丢失),
往返行程的估计时间(以毫秒为单位):
最短=257ms,最长=268ms,平均=260ms
C:\Users\macrotea>typec:\Users\macrotea\.gitconfig
[user]
name=macrotea
email=macrotea@qq.com
[alias]
ci=commit
co=checkout
st=status
br=branch
throw=reset--hardHEAD
throwh=reset--hardHEAD^
C:\Users\macrotea>git--version
gitversion1.8.5.2.msysgit.0
C:\Users\macrotea>gitls-remote--tags--headsgit://github.com/twbs/bootstrap.git
fatal:unabletoconnecttogithub.com:
github.com[0:192.30.252.128]:errno=Noerror
C:\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=44
192.30.252.128的Ping统计信息:
数据包:已发送=4,已接收=4,丢失=0(0%丢失),
往返行程的估计时间(以毫秒为单位):
最短=354ms,最长=360ms,平均=358ms
C:\Users\macrotea>why?help!thanks!
此问题来源于当使用Yeoman进行yowebapp时出错:
npmhttp304https://registry.npmjs.org/grunt-autoprefixer
npmhttp304https://registry.npmjs.org/grunt-svgmin
bowerbootstrap#~3.0.3
ECMDERRFailedtoexecute"gitls-remote--tags--headsgit://github.com/twbs/bootstrap.git",exitcodeof#128
Additionalerrordetails:
fatal:unabletoconnecttogithub.com:
github.com[0:192.30.252.129]:errno=Noerror
events.js:74
throwTypeError('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:13
atC:\Users\macrotea\AppData\Roaming\npm\node_modules\generator-webapp\node_modules\yeoman-generator\node_modules\async\lib\async.js:113:21
atC:\Users\macrotea\AppData\Roaming\npm\node_modules\generator-webapp\node_modules\yeoman-generator\node_modules\async\lib\async.js:24:16
atC:\Users\macrotea\AppData\Roaming\npm\node_modules\generator-webapp\node_modules\yeoman-generator\node_modules\async\lib\async.js:229:17
atC:\Users\macrotea\AppData\Roaming\npm\node_modules\generator-webapp\node_modules\yeoman-generator\node_modules\async\lib\async.js:516:34
atAppgenerator.(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)
望君多指点!
UYOU
浏览 315回答 2
2回答
随时随地看视频慕课网APP

相关分类

JavaScript
我要回答