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

Bun patch errors in monorepo (failed renaming patch file to patches dir EPERM: Operation not permitted (copyfile())) #12200

Open
kravetsone opened this issue Jun 27, 2024 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@kravetsone
Copy link

What version of Bun is running?

1.1.17+bb66bba1b and 1.1.17-canary.1+96e84b276

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

I'm using monorepo and I want to patch Elysia (because of elysiajs/elysia#696 )

When I try to use bun patch on Windows I get this error

PS Z:\PROJECTS\node-ts\elycart-monorepo\packages\server> bun patch --commit [email protected]
bun patch v1.1.17 (bb66bba1)
error: failed renaming patch file to patches dir EPERM: Operation not permitted (copyfile())

When i try to switch to WSL i get the same error as #12103 (comment)

kravets@KravetsBook:/mnt/z/PROJECTS/node-ts/elycart-monorepo/packages/server$ bun patch [email protected]
bun patch v1.1.17 (bb66bba1)

1 package installed [7.86s]
error: error overwriting folder in node_modules: FileNotFound

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

@kravetsone kravetsone added bug Something isn't working needs triage labels Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant