快速解决 npm 安装 node-sass 速度慢/错误的问题 2020-02-20T09:58:00 可通过配置淘宝的镜像源解决,首先配置淘宝的镜像源npm config set registry https://registry.npm.taobao.org然后在 ~/.npmrc 加入下面内容sass_binary_site=https://npm.taobao.org/mirrors/node-sass/.npmrc 文件位于win:C:\Users\[你的账户名称]\.npmrc linux:直接使用 vi ~/.npmrc完整配置如图 当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »