-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Verify latest release
- I verified that the issue exists in the latest pnpm release
pnpm version
10.5.0
Which area(s) of pnpm are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
https://github.com/goszczynskip/pnpm-bug
Reproduction steps
- Clone repo. Run next steps from repo root.
- Enable node via nvm.
nvm use
- Enable pnpm via corepack.
corepack use pnpm@latest
- Install dependencies.
pnpm i
- Approve package builds.
pnpm approve-builds
. - Command fails after allowing scripts to run
Describe the Bug
When running pnpm approve-builds command fails with following logs
$ pnpm approve-builds
✔ Choose which packages to build (Press <space> to select, <a> to toggle all, <i> to invert selection) · bufferutil, core-js-pure, esbuild, utf-8-validate
✔ The next packages will now be built: bufferutil, core-js-pure, esbuild, utf-8-validate.
Do you approve? (y/N) · true
EISDIR EISDIR: illegal operation on a directory, rename '/Users/username/somepath/pnpm-bug.3629096758' -> '/Users/username/somepath/pnpm-bug'
Expected Behavior
pnpm approve-builds
should pass
Which Node.js version are you using?
22.14.0
Which operating systems have you used?
- macOS
- Windows
- Linux
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
thedanielforum, gudleik and anomatomato