为了账号安全,请及时绑定邮箱和手机立即绑定

运行npm run dev 报错

/ 猿问

运行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>


查看完整描述

1 回答

?
橋本奈奈未

检查你的config文件。

× 「wds」: webpack Dev Server Invalid Options


options should NOT have additional properties

报错信息写的很清楚了,有无效的配置项

查看完整回答
反对 回复 2019-07-15

添加回答

回复

举报

0/150
提交
取消
意见反馈 邀请有奖 帮助中心 APP下载
官方微信