There was a problem installing the webpack.

  node.js, question

I encountered a problem when installing the webpack. The following is the installed code:
npm install -g webpack
Then the result is:

clipboard.png

The great gods know that node has been updated and vpn has been bought, but they cannot find out why it cannot be installed.

Let’s try to change the domestic mirror image.

$ npm config set registry https://registry.npm.taobao.org
Or ..
$ npm config set registry http://registry.cnpmjs.org