Failed to install hexo using Taobao image

  node.js, question

First to use official documents$ npm install -g hexo-cliThe installation of hexo has not responded to the timeout. After google chose to install it with Taobao image.

Install cnpm:

npm install -g cnpm --registry=https://registry.npm.taobao.org

When npm is then installedcnpm install -g hexo-cliFailed with the following error message:
图片描述

How to solve it?

Windows: right-click administrator mode to run CMD.
mac: sudo npm install -g hexo-cli –registry=https://registry.npm.taobao.org