wepy-cli : Failed to download repo standard: getaddrinfo ENOENT raw.githubusercontent.com

 

 

wepy创建项目(wepy  init standard recruitment-mini)时报错:

 

解决办法:

(1)打开目录:C:/Windows/System32/drivers/etc/

(2)找到hosts文件,使用管理员模式打开记事本(注意必须使用管理员身份打开)

(3)将hosts文件拖到管理员模式下的记事本中,然后在文件尾部添加以下文本(注意除了下面的文本之外,千万别画蛇添足)

  199.232.28.133 raw.githubusercontent.com

(4)保存文件(可能还要重启一下计算机?),就解决了

 

posted @ 2020-07-15 11:51  最初的样子  阅读(1562)  评论(0编辑  收藏  举报