I encountered a problem when installing the webpack. The following is the installed code:
npm install -g webpack
Then the result is:
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
$ npm config set registry http://registry.cnpmjs.org