安装sass时报错 npm install sass sass-loader --save-dev 查看发现是npm带的repository问题,改成淘宝repository地址 解决方法 npm config set registry https://registry.npm.taobao.org