-
Notifications
You must be signed in to change notification settings - Fork 736
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: EBUSY: resource busy or locked, rmdir #4167
Comments
@Cherry we have published a new version of Wrangler (3.13.1) that reverts the change that was causing issues. You should be able to update and not see this error. |
The issue doesn't happen in the release version of 3.13.1 though, so I'm not sure the fix at #4127 is directly related. I can reproduce the If you have a build that includes both #4127 and #4175, I'd be happy to test that too. |
Hey! 👋 We weren't able to reproduce this on Windows, but have identified something that might be causing the issue. Would you be able to try out a patch that could fix this? $ npm install wrangler@3.13.0
$ curl https://gist.githubusercontent.com/mrbbot/3e47fda00084f8725012fa1bf37f00f2/raw/2f1193cd9cf870a790cd57bfe7f9e5395e539226/miniflare+3.20231010.0.patch > patches/miniflare+3.20231010.0.patch
$ npx patch-package
$ npx wrangler dev index.ts |
Thanks folks. Unfortunately even with said patch applied, I'm still able to reproduce this issue every single time on my system (using 3.13.0, with patch and without), on both
If I can provide any more details to help debug this, let me know. |
Thanks for trying that patch out. We've got a couple more to try! 😃 $ npm install wrangler@3.13.0
$ curl https://gist.githubusercontent.com/mrbbot/d60218708a09beddf1b667b1f73f68c8/raw/812cde2552f01d7b5ac6c385d01e5f36b43d3920/miniflare+3.20231010.0.patch > patches/miniflare+3.20231010.0.patch
$ curl https://gist.githubusercontent.com/mrbbot/d60218708a09beddf1b667b1f73f68c8/raw/812cde2552f01d7b5ac6c385d01e5f36b43d3920/wrangler+3.13.0.patch > patches/wrangler+3.13.0.patch
$ npx patch-package
$ npx wrangler dev index.ts These should stop Wrangler using that temporary directory in the first place. We think we have a solution for the underlying problem too, but we don't really need to be writing files for these new proxy workers. |
Thanks Brendan! The path in the error seems slightly different now, but I am still receiving it when exiting:
|
Getting there! I've updated
Apologies for all the back and forth 😅 |
No worries at all, happy to help! Those most recent patches do indeed appear have to resolved it for me! 🥳 I can no longer reproduce it with those patches applied. Thanks! |
Using the latest prerelease in that PR, I still get the
|
I can confirm I don't get an EBUSY error with the latest prerelease in that PR, thanks @RamIdeas! |
Hey @Cherry – thanks for confirming – can you also check your |
Sure thing, here: |
Perfect! Looks like this issue can be closed now. Thanks again for your feedback 😄 |
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.13.0
What version of Node are you using?
18.18.0
What operating system are you using?
Windows 10
Describe the Bug
Worker script for context, though it doesn't seem to actually matter if you use cache or not:
This is not an issue with wrangler 3.12.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: