Ricky

链接

RSS

RSS Link
Windows10运行Ubuntu Linux Subsystem并开启后台ssh服务

node-sass安装的坑

Ricky posted @ 2018年4月19日 09:29 in Other , 102 阅读

node-sass安装各种坑

1. 

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

2. 修改.npmrc

sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
phantomjs_cdnurl=https://npm.taobao.org/mirrors/phantomjs/
electron_mirror=https://npm.taobao.org/mirrors/electron/
registry=https://registry.npm.taobao.org

3. npm install -g cnpm; cnpm install

 

 


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter