安装 node-sass 遇到的问题 解决办法

出现这种错误:

 方法可以用这种方法解决:

//1先安装淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org 
//2在原来的代码上加上c
//npm install --global node-sass 这是原来的代码
cnpm install --global node-sass

 

posted @ 2021-10-11 11:59  baicil  阅读(51)  评论(0)    收藏  举报