目前国内npm源有问题;所以键入如下代码即可安装成功:
npm install -g cnpm --registry=https://registry.npm.taobao.org cnpm install hexo-cli -g
目前国内npm源有问题;所以键入如下代码即可安装成功:
npm install -g cnpm --registry=https://registry.npm.taobao.org cnpm install hexo-cli -g
转载于:https://www.cnblogs.com/qq597585136/p/6964599.html