这个问题搞了一会想起开始安装node-sass时的一句被我忽略的提示:执行
npm rebuild node-sass
这行后就可以了。
再说说 node-sass 的安装问题,现在使用 yarn install 时容易出现node-sass无法安装的情况,npm也无法安装。主要还是因为墙的原因。 出现这个问题还是去安装个 taobao 镜像吧,虽然我也不太喜欢使用。但它能解决这种问题
yarn install
https://www.jianshu.com/p/1c12a5f3b1ab