Helpless! Node and npm already installed do not install package manager

  node.js, question

I already installed node and npm that day.

Go to the computer and open CMD command to write it down.

$ node -v

And

$ npm -v

Displays the version number but cannot install the package manager such as find

$ npm install XXX!

Dear gods, solve!Picture description

2706560740-5749c0156346f_articlex

ECONNRESETThis should be because the network has been reset, that is, npm failed to download the package.

It is suggested to use the mirror image of Taobao in China:https://npm.taobao.org/

How to use it is explained on the front page