Skip to content

Commit 04e6223

Browse files
Boshenclaudeautofix-ci[bot]
authored
fix(npm): add preferUnplugged for Yarn PnP compatibility (#19829)
## Summary - Add `"preferUnplugged": true` to `oxlint` and `oxfmt` `package.json` files so Yarn PnP always extracts them to disk instead of keeping them in zip archives - This fixes `EBADF: bad file descriptor` errors when running oxlint/oxfmt in Yarn PnP projects, since native binaries cannot execute from within zip archives Closes #19163 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent a2f58e5 commit 04e6223

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

npm/oxfmt/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@
6464
},
6565
"engines": {
6666
"node": "^20.19.0 || >=22.12.0"
67-
}
67+
},
68+
"preferUnplugged": true
6869
}

npm/oxlint/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,6 @@
7979
},
8080
"engines": {
8181
"node": "^20.19.0 || >=22.12.0"
82-
}
82+
},
83+
"preferUnplugged": true
8384
}

0 commit comments

Comments
 (0)