node升级后,项目中node-sass报错的问题

今天把node从v8.x升级到v10.x后 npm run dev启动vue项目报错

1
2
3
4
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x

Found bindings for the following environments:
- Windows 64-bit with Node.js 8.x

可以看出是环境变了 导致的问题。。。

阅读更多