Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev命令报缺少mode错误 #1

Open
JianShaw opened this issue Apr 17, 2018 · 1 comment
Open

dev命令报缺少mode错误 #1

JianShaw opened this issue Apr 17, 2018 · 1 comment

Comments

@JianShaw
Copy link

执行npm start会报错,缺少mode提示

我当前的webpack-dev-server版本为3.1.3
webpack版本为4.5.0.

package.json下的dev:server 修改为
webpack-dev-server --mode development 再执行就正常了。

@fengyun2
Copy link
Owner

@JianShaw 把你的package.json贴出来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants