From ab0c2d65dc197259f7e56dc468d3a23d44415679 Mon Sep 17 00:00:00 2001 From: mattjaf Date: Wed, 30 Nov 2022 19:56:47 -0800 Subject: [PATCH] Update README.md added WSL Troubleshooting and provided a solution to a common problem (fixed indent) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 52c64e4..5590a1d 100644 --- a/README.md +++ b/README.md @@ -983,13 +983,15 @@ Now you should be able to use node as usual. ## WSL Troubleshooting -If you've encountered this error on WSL-2 +If you've encountered this error on WSL-2: + ```sh curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash % Total % Received % Xferd Average Speed Time Time Time Current 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 ``` + 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`