Vue工程linux构建遇到的坑

问题一:编译器版本差异问题,报错信息如下:

Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 10.x

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

这个问题是版本不一致导致了,正常开发环境使用版本为windows node 8.x;使用服务器构建时采用了Linux node 10.x; read more