npm install hexo-renderer-sass时报错

问题

使用hexo搭建博客时,需安装hexo-renderer-sass

$ npm install hexo-renderer-sass

解决

改用淘宝镜像:

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

再次安装:

$ cnpm install hexo-renderer-sass --save
posted @ 2019-05-20 23:38  tiancixiong  阅读(39)  评论(0)    收藏  举报