You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-10-28T18:05:23.8887744Z pnpm: ENOENT: no such file or directory, unlink 'D:\a\pnpm\pnpm_tmp\126_7008\9\project\cache\dlx\c5a0372be11a7307322ba5932d161ca4d94858a3dd669b9665ff3e38f87222f2\pkg'
2024-10-28T18:05:23.8888769Z at async Object.unlink (node:internal/fs/promises:1060:10)
2024-10-28T18:05:23.8889372Z at async forceSymlink (D:\a\pnpm\pnpm\pnpm\dist\pnpm.cjs:105082:7)
2024-10-28T18:05:23.8890046Z at async Object.handler [as dlx] (D:\a\pnpm\pnpm\pnpm\dist\pnpm.cjs:224776:11)
2024-10-28T18:05:23.8890642Z at async D:\a\pnpm\pnpm\pnpm\dist\pnpm.cjs:234691:21
2024-10-28T18:05:23.8891177Z at async main (D:\a\pnpm\pnpm\pnpm\dist\pnpm.cjs:234650:34)
2024-10-28T18:05:23.8891999Z at async runPnpm (D:\a\pnpm\pnpm\pnpm\dist\pnpm.cjs:234922:5)
2024-10-28T18:05:23.8892520Z at async D:\a\pnpm\pnpm\pnpm\dist\pnpm.cjs:234914:7
This correlates to this line of dist/pnpm.cjs:
if(target===linkString){return{reused: true};}if((opts===null||opts===void0 ? void0 : opts.overwrite)===false){throwinitialErr;}awaitfs_1.promises.unlink(path2);// <-- THIS LINE (pnpm.cjs:105082:7)returnawaitforceSymlink(target,path2,opts);
As we can see, the pnpm code is specifying { overwrite: true } correctly, but it was symlink-dir that is unable to handle it correctly when it was called concurrently.
Note
The above log came from a modified pnpm, so it doesn't correlate with pnpm from the main branch.
The text was updated successfully, but these errors were encountered:
The CI log:
This correlates to this line of
dist/pnpm.cjs
:Which was invoked by this:
Which should correlate with this line:
https://github.com/pnpm/pnpm/blob/bce37851f9b841424f960c37f300b5a7358f0bed/exec/plugin-commands-script-runners/src/dlx.ts#L95
As we can see, the pnpm code is specifying
{ overwrite: true }
correctly, but it wassymlink-dir
that is unable to handle it correctly when it was called concurrently.Note
The above log came from a modified pnpm, so it doesn't correlate with pnpm from the
main
branch.The text was updated successfully, but these errors were encountered: