在启动服务(npm run dev)的时候会出现一下错误
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 7.x
错误原因是因为node-sass的版本不正确,需要将node-sass包卸了之后重新安装即可:
卸载:npm uninstall node-sass
安装:npm install node-sass
然后在重新启动即可。
也可以使用:npm rebuild node-sass,进行重启。