An unexpected error occurred: “: getaddrinfo ENO

getaddrinfo ENO

An unexpected error occurred: "https://raw.githubusercontent.com/eligrey/FileSaver.js/e865e37af9f9947ddcced76b549e27dc45c1cb2e/package.json: getaddrinfo ENO 

An unexpected error occurred: “: getaddrinfo ENO

解决方法 

打开浏览器,访问https://www.ipaddress.com,查一下 raw.githubusercontent.com 的ipv4地址;

An unexpected error occurred: “: getaddrinfo ENO

结果页如下: 

An unexpected error occurred: “: getaddrinfo ENO

 在hosts文件中添加IP地址

185.199.108.133 raw.githubusercontent.com
185.199.109.133 raw.githubusercontent.com
185.199.110.133 raw.githubusercontent.com
185.199.111.133 raw.githubusercontent.com

An unexpected error occurred: “: getaddrinfo ENO

 保存好重试即可。

上一篇:EntityFramework:An error occurred while executing the command definition. See the inner exception fo


下一篇:eclipse启动时报错"an error has occurred.see the log file..."