安装 node-sass 正确姿势
windows 下面安装 node-sass,确实令人头痛,正确姿势如下: 修改 NPM 镜像 查看当前设置: 1234# npm 命令npm config get registry# yarn 命令yarn config get registry 修改为淘宝镜像: 123456# npm 命令# npm config set registry http://registry.npm.taobao.org/npm config set registry https://registry.npmmirror.com# yarn 命令# yarn config set registry http://registry.npm.taobao.org/yarn config set registry https://registry.npmmirror.com 安装 windows 平台编译环境 需要在管理员权限下安装: 123456npm install -g node-gyp# 安装 python 和 vs-build# 此过程可能长时间没有反映,可从控制面板中检查是否安装成功# 安...
