node版本要求较高 需要使用新版本的node
升级node
## 安装node的一个版本管理器n
npm install n -g
## 安装最新版本的node
n latest
## 切换到某个固定的版本
n ^7.6.0
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For detailed explanation on how things work, checkout the guide and docs for vue-loader.