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

1-5 webpack-dev-server和脚手架CLI使用的解决方法 #82

Open
Tracker647 opened this issue May 20, 2021 · 0 comments
Open

1-5 webpack-dev-server和脚手架CLI使用的解决方法 #82

Tracker647 opened this issue May 20, 2021 · 0 comments

Comments

@Tracker647
Copy link

跟着教程做发现报错了,抛报错结果到stackoverflow,发现说是webpack5不与webpack-dev-server兼容,我首先全局安装了下webpack-cli,然后把webpack-dev-server的安装和使用给换成了之前stack建议的webpack serve,运行成功了

原解决地址:https://stackoverflow.com/questions/40379139/cannot-find-module-webpack-bin-config-yargs/41182205

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

1 participant