安装sass插件报错
request to http://registry.npm.taobao.org/camelcase failed, reason: getaddrinfo ENOTFOUND registry.npm.taobao.org
查了一下似乎是镜像的问题,比较适合我的解决办法如下:
可以先查看一下当前镜像,
npm config get registry
之前的淘宝镜像是http的或者不是淘宝镜像,换成https的淘宝镜像就可以啦
npm config set registry https://registry.npm.taobao.org