-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
bugSomething isn't workingSomething isn't workingbun installSomething that relates to the npm-compatible clientSomething that relates to the npm-compatible client
Description
What version of Bun is running?
1.2.19+aad3abead
What platform is your computer?
Darwin 24.0.0 arm64 arm
What steps can reproduce the bug?
- install any dependency with
--linker=isolated
- try to patch it
What is the expected behavior?
works as intended
What do you see instead?
➜ bun patch example
bun patch v1.2.19 (aad3abea)
4 packages installed [50.00ms]
To patch example, edit the following folder:
node_modules/example
Once you're done with your changes, run:
bun patch --commit 'node_modules/example'
➜ bun patch --commit 'node_modules/example'
bun patch v1.2.19 (aad3abea)
error: failed to parse patchfile: bad_file_mode
error: failed to apply patchfile (patches/[email protected])
Checked 177 installs across 189 packages (no changes) [31.00ms]
➜ bun patch example
bun patch v1.2.19 (aad3abea)
error: failed to parse patchfile: bad_file_mode
error: failed to apply patchfile (patches/[email protected])
Checked 177 installs across 189 packages (no changes) [14.00ms]
error: error overwriting folder in node_modules: FileNotFound
Additional information
existing patches seems to work
Killian-G
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingbun installSomething that relates to the npm-compatible clientSomething that relates to the npm-compatible client