npm install node-sass 报错

  启动项目的时候没过脑子打错了命令,直接 npm install ,把 node-sass 搞坏了,删了重装一直报错:

 

 

 

   网上查了下:https://developer.aliyun.com/mirror/NPM?from=tnpm

  直接用 cnpm 搞好了:

$ npm install -g cnpm --registry=https://registry.npm.taobao.org

  再用 cnpm 跑安装命令就好了!

cnpm install node-sass

 

   贴个图搞定

posted @ 2020-07-07 16:36  名字不好起啊  阅读(160)  评论(0)    收藏  举报