antfu / pnpm-patch-i

A better and interactive pnpm patch
MIT License
263 stars 9 forks source link

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

Open JustinGrote opened 8 months ago

JustinGrote commented 8 months ago

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/execa@7.2.0/node_modules/execa/lib/error.js:60
                error = new Error(message);

Used Package Manager

pnpm

Validations

JustinGrote commented 8 months ago

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