记录一下
报错问题:
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment
运行报错这一行说明 需要添加node-sass
解决办法:
1.淘宝换源
npm install -g cnpm --registry=https://registry.npm.taobao.org
2.安装
cnpm install node-sass
如果直接执行第二步,有可能会出现安装失败,所以直接换源再安装成功解决