-
Notifications
You must be signed in to change notification settings - Fork 369
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
[Bug report] 每次打包都提示 Error: EBUSY: resource busy or locked, rmdir 'dist/wx' #1390
Comments
如果用npm run serve的话,经常会出现第一次成功,之后再改动代码,编译的进度条走到一半就退出了,几乎没有办法边改边看 |
可以添加--no-clear 来解决该问题,目前 run serve 会把之前的文件移除掉,保证产物正确。 |
这个问题辛苦提供个复现repo |
https://github.com/rcocco/mpx-serve-exit
|
#1408 已修复 |
只要开着微信开发者工具,再进行打包操作,就会提示 Error: EBUSY: resource busy or locked, rmdir 'dist/wx' 然后打包失败,必须关掉开发者工具的当前项目才能打包成功,但这样一来操作就比较麻烦了。
微信开发者工具的版本是Windows Stable 1.06.2307260,CLI的版本是 @mpxjs/cli@3.4.0
以前的版本是没有这种情况的,但我不太确定是CLI的版本变了的问题还是开发者工具版本变了的问题。
The text was updated successfully, but these errors were encountered: