The system is win10 and VPN is connected
The question is as follows:
Use the code shown in the official documentation to install hexo
$ npm install -g hexo-cli
No response, I searched for a solution online and installed it using Taobao npm image
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
Still failed, the error message is as follows:
Then it seems that you need to install the code in the address above
$ npm install --save supports-color
Then it continues to time out and not respond.
Is there any better solution?
It is recommended that you first check whether node and npm are installed, and then install cnpm. After the installation is complete, use
cnpm -v
to check whether the installation is successful. After the installation is successful, it should generally be fine. I wrote an article and you can see Hexo setup Blog and realize multi-terminal synchronization management