微信公众号:leetcode_algos_life,代码随想随记
小红书:412408155
CSDN:https://blog.csdn.net/woai8339?type=blog ,代码随想随记
GitHub: https://github.com/riverind
抖音【暂未开始,计划开始】:tian72530,代码随想随记
知乎【暂未开始,计划开始】:happy001

问题

安装nvm直接采用

curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash

报错,报错信息如下:

fatal: unable to access 'https://github.com/nvm-sh/nvm.git/': Failed to connect to github.com port 443 after 130578 ms: Connection timed out
Failed to clone nvm repo. Please report this!

解决方案

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null

curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐