前端开发:Vue启动项目报错ValidationError:webpack Dev Server Invalid Options

在前端开发的时候,启动运行Vue项目的时候:npm run dev或者 npm run start 或者yarn examples:start,遇到ValidationError:webpack Dev Server Invalid Options报错的提示,报错信息如下所示:

 

Cheng$ npm run start

> [email protected] start /Users/Cheng/hnant

> vue-cli-service serve

INFO  Starting development server...

WARN  A new version of sass-loader is available. Please upgrade for best experience.

ERROR  ValidationError: webpack Dev Server Invalid Options

 

options.proxy should be {Object|Array} (https://webpack.js.org/configuration/dev-server/#devserverproxy)

ValidationError: webpack Dev Server Invalid Options

你可能感兴趣的:(前端开发--付费,vue.js,前端)