pnpm-patch-i icon indicating copy to clipboard operation
pnpm-patch-i copied to clipboard

Does not work on Windows if project not on same drive as temp drive

Open JustinGrote opened this issue 2 years ago • 1 comments

Describe the bug

Put project on diff drive as TEMP and try to patch

Reproduction

Put project on diff drive as TEMP and try to patch

System Info

Commiting patch...
 EXDEV  EXDEV: cross-device link not permitted, link 'D:\vscode-pester\node_modules\.patch-edits\patch_edit_@vscode+test-cli_c27a5ebff9\out\bin.d.mts' -> 'C:\Users\JGrote\AppData\Local\Temp\61730dd1cff77d604a6bef9951d06dcb\out\bin.d.mts'

pnpm: EXDEV: cross-device link not permitted, link 'D:\vscode-pester\node_modules\.patch-edits\patch_edit_@vscode+test-cli_c27a5ebff9\out\bin.d.mts' -> 'C:\Users\JGrote\AppData\Local\Temp\61730dd1cff77d604a6bef9951d06dcb\out\bin.d.mts'
file:///D:/.pnpm/store/v3/tmp/dlx-9704/node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:60
                error = new Error(message);

Used Package Manager

pnpm

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the Contributing Guide.
  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • [X] The provided reproduction is a minimal reproducible of the bug.

JustinGrote avatar Jan 05 '24 02:01 JustinGrote

Dupe of https://github.com/pnpm/pnpm/issues/7295

JustinGrote avatar Jan 05 '24 02:01 JustinGrote