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

webpack-cli版本过低 #3

Open
ykl124 opened this issue Oct 17, 2018 · 1 comment
Open

webpack-cli版本过低 #3

ykl124 opened this issue Oct 17, 2018 · 1 comment

Comments

@ykl124
Copy link

ykl124 commented Oct 17, 2018

npm start以后
image
看报错的详细,没有发现是配置上的问题。
在google上找,查到了下面这个链接
webpack/webpack#8082

这个issue里报的错误是和我一摸一样的。
通篇看下来,原来这是webpack-cli自带的bug
给的解决方案生升级webpack-cli到3.1.1,我看了下,package.json里还是在2版本。
于是卸载重新安装,然后就升级到了3版本。
再次启动,就成功了。

建议:
package.json里的 webpack-cli 要求3版本。

@amanu-nur
Copy link
Contributor

carbon

I found a little error like the one above, to fix it please update * webpack-CLI * to the latest version

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