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

Open
#2 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
node.js, typescript
Domain
tooling

Research direction

No source file or test is named. Start by reproducing the pnpm patch operation with the project on D: and TEMP on C:, then trace the EXDEV failure from the reported patch-edit path; done means committing the patch succeeds across different Windows drives.

Written by the indexing model from the issue text.

Description

help wanted
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
  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
Dominant language
TypeScript
Stars
302
Forks
7
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.