lzy3366

一般情况使用命令npm i node-sass 编译时报错,解决方法就是使用淘宝的镜像安装:

set SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/ && npm install node-sass

然而并没什么卵用

调整以后使用下面命令安装成功:
npm install --save node-sass --registry=https://registry.npm.taobao.org --disturl=https://npm.taobao.org/dist --sass-binary-site=http://npm.taobao.org/mirrors/node-sass
 

分类:

技术点:

相关文章:

  • 2021-12-22
  • 2021-11-26
  • 2021-06-12
  • 2021-11-28
  • 2021-07-05
  • 2021-09-06
  • 2021-06-11
  • 2021-07-07
猜你喜欢
  • 2022-01-07
  • 2021-06-15
  • 2021-12-21
  • 2021-10-04
  • 2021-12-10
  • 2021-05-21
  • 2021-12-07
相关资源
相似解决方案