使用vuecli3创建uniapp遇到的问题(涉及到了浏览器访问不了githup)

vue create -p dcloudio/uni-preset-vue my-project
( 运行没反应后报错,我就去百度各种问题。看到有人说好像创建这个项目需要访问到githup,具体原因我也不知道。我就急着测试githup能不能登录上去,后来发现电脑上的所有浏览器都访问不了githup,我就去找怎么解决
。)
我自己跑通的githup如下操作:

https://github.com.ipaddress.com/

( 找到 IP Address
然后 cmd 进入命令窗口 ping IP 看是否能跑通
跑通后我又去访问githup还是不行,我就又去找网友们提供的信息
最后C:\Windows\System32\drivers\etc\hosts
中我的内容是 ):
#github
140.82.114.4 github.com

192.30.253.118 gist.github.com
185.199.108.153 assets-cdn.github.com
151.101.184.133 raw.githubusercontent.com
151.101.184.133 gist.githubusercontent.com
151.101.184.133 cloud.githubusercontent.com
151.101.184.133 camo.githubusercontent.com
151.101.184.133 avatars0.githubusercontent.com
151.101.184.133 avatars1.githubusercontent.com
151.101.184.133 avatars2.githubusercontent.com
151.101.184.133 avatars3.githubusercontent.com
1

  • 3
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值