Sfoglia il codice sorgente

fix: 网络异常问题处理
1. 未使用sudo配置代理时网络异常问题解决

kindring 5 mesi fa
parent
commit
3b98b0f6ba
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      linux/安装node任意版本.md

+ 2 - 1
linux/安装node任意版本.md

@@ -19,7 +19,8 @@ sudo apt-get install npm
 sudo apt-get install nodejs
 ```
 ### 2. 通过`npm`安装`n`
-> 防止网络异常, 先配置镜像源. 目前在腾讯云的轻量服务器上遇见了这一问题
+> 防止网络异常, 先配置镜像源. 目前在腾讯云的轻量服务器上遇见了这一问题  
+> 这部分记得使用`sudo`运行
 ```shell
 npm config set registry https://registry.npmjs.org
 ```