nvm download node error

 Error message:

Could not retrieve https://nodejs.org/dist/latest/SHASUMS256.txt.

Get "https://nodejs.org/dist/latest/SHASUMS256.txt": dial tcp 104.20.23.46:443: i/o timeout

 solution:

1. Find the nvm path through environment variables 

 2. Find the corresponding nvm folder through the nvm path

 3. Find the settings.txt file in the nvm folder and open it.

 

        Open it as administrator and change:

        Add two lines of code, and save. The two lines of code are as follows:

node_mirror: npm.taobao.org/mirrors/node/
npm_mirror: npm.taobao.org/mirrors/npm/

Then go to download node and it will be successful

Guess you like

Origin blog.csdn.net/m0_53574149/article/details/129086094
Recommended