mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 06:41:50 +00:00
Update README.md
added WSL Troubleshooting and provided a solution to a common problem (fixed indent)
This commit is contained in:
parent
d4bfd7d30d
commit
ab0c2d65dc
@ -983,13 +983,15 @@ Now you should be able to use node as usual.
|
|||||||
|
|
||||||
## WSL Troubleshooting
|
## WSL Troubleshooting
|
||||||
|
|
||||||
If you've encountered this error on WSL-2
|
If you've encountered this error on WSL-2:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
|
||||||
% Total % Received % Xferd Average Speed Time Time Time Current
|
% Total % Received % Xferd Average Speed Time Time Time Current
|
||||||
Dload Upload Total Spent Left Speed
|
Dload Upload Total Spent Left Speed
|
||||||
0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0curl: (6) Could not resolve host: raw.githubusercontent.com
|
0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0curl: (6) Could not resolve host: raw.githubusercontent.com
|
||||||
```
|
```
|
||||||
|
|
||||||
It may be due to your antivirus, VPN, or other reasons.
|
It may be due to your antivirus, VPN, or other reasons.
|
||||||
|
|
||||||
Where you can `ping 8.8.8.8` while you can't `ping google.com`
|
Where you can `ping 8.8.8.8` while you can't `ping google.com`
|
||||||
|
Loading…
Reference in New Issue
Block a user