search

Home  >  Q&A  >  body text

git - Problems installing hexo using Taobao npm?

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?

仅有的幸福仅有的幸福2841 days ago697

reply all(1)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-05-02 09:44:37

    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

    reply
    0
  • Cancelreply