运行npm run dev 报错

× 「wds」: webpack Dev Server Invalid Options


options should NOT have additional properties


npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! vue-webpack@1.0.0 dev: `cross-env NODE_ENV=development  webpack-dev-server --config webpack.config.js `

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the vue-webpack@1.0.0 dev script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\jwors\AppData\Roaming\npm-cache\_logs\2019-07-15T10_43_56_132Z-debug.log

PS C:\Users\jwors\Desktop\vue-webpack>


慕村8524978
浏览 1617回答 1
1回答

橋本奈奈未

检查你的config文件。× 「wds」: webpack Dev Server Invalid Optionsoptions should NOT have additional properties报错信息写的很清楚了,有无效的配置项
打开App,查看更多内容
随时随地看视频慕课网APP