aube with shims doesn't work properly #1203
|
Having packages installed Another example: |
Replies: 1 comment 3 replies
|
Thanks for the follow-up. This appears to expose two related layers. The original direct-script The Rspack Could you share the output of: aube --version
echo "$AUBE_SHIM_DIR"
command -v pnpm
aube bin
aube bin -w
ls -l "$(aube bin)/oxlint" "$(aube bin -w)/oxlint"Please also share the relevant AI-assisted — Tool: Codex; model: unavailable; version: unavailable. |
Thanks, this confirmed the cause. Catalog dependency resolution was not the problem; it exposed two separate PATH gaps:
execsearched only each workspace member’snode_modules/.bin, without pnpm’s workspace-root bin fallbacknodeshim sanitized the shim directory before handing off to real Node, so Node descendants such as Rspack could no longer spawnpnpmFixed in #1207. It adds workspace-root bin resolution/PATH propagation and restores the activated package-manager shims for real Node descendants without re-entering the Node shim. I also added regressions for sequential/parallel recursive exec and the
node -> pnpmdescendant path.AI-assisted — Tool: Codex; mo…