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

每次启动都卡这里 #293

Open
fengzhiqiang012 opened this issue Sep 6, 2019 · 7 comments
Open

每次启动都卡这里 #293

fengzhiqiang012 opened this issue Sep 6, 2019 · 7 comments

Comments

@fengzhiqiang012
Copy link

291567764394_ pic_hd

@fengzhiqiang012
Copy link
Author

按照官方流程
npm run dev:wechat 会卡到 95%
npm run build:wechat 正常

@yoohoxiao
Copy link

我也遇到了同样的问题,谁能告诉一下这个问题怎么解决。

@panyu97py
Copy link

遇到同样的问题

1 similar comment
@wangzhengbo
Copy link

遇到同样的问题

@QuincyX
Copy link

QuincyX commented Sep 17, 2019

遇到同样的问题
之前的megalo项目正常,把 node_modules 删掉后重新 npm i 就出现异常
猜测可能是某个依赖包升级造成的

对比了前后的 package-lock 文件
@babel 的一系列包 7.5.5 => 7.6.0
@megalo 的相关包 1.0.0 beta1 => 1.0.0 beta2
acorn 5.7.3 => 6.3.0

@bigmeow
Copy link

bigmeow commented Sep 17, 2019

问题是由于 webpack-dev-server 中的依赖 webpack-dev-middleware更新引起的
image

我已经发布了@megalo/[email protected] 版本通过锁死webpack-dev-middleware 版本来解决这个问题,各位更新下依赖即可。
注意:使用 yarn install 安装的可能依旧有这个问题,先使用 npm install

@bigmeow
Copy link

bigmeow commented Sep 17, 2019

真正原因找到了,之前 webpack 版本锁死了 "webpack": ">=4 < 4.29", webpack-dev-middleware
更新而webpack没有跟上,@megalo/[email protected] 中已修复

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

6 participants