installVersion step can't move the temp directory
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.8k
- Forks
- 279
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 2
Description
On installing step, corepack can download to the temp folder but after, it not moving
It's append with my enterprise computer, maybe because of the antivirus ?
└─ corepack prepare yarn@stable
Preparing yarn@stable...
Internal Error: ENOENT: no such file or directory, stat 'C:\Tools\nvm_nodejs\corepack\yarn\3.3.1'
Error: ENOENT: no such file or directory, stat 'C:\Tools\nvm_nodejs\corepack\yarn\3.3.1'
workaround
- Go to the installation folder (
<installationFodler/yarn-xxxxxxxxxxxxxxx) - Move the folder to the right directory (
<installationFodler/yarn/3.3.1) - Execute again the command (
corepack prepare yarn@stable --activate)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the installVersion step and reproduce the Windows failure shown by corepack prepare yarn@stable, checking the temporary installation folder and the expected corepack\yarn\3.3.1 path. Done means the downloaded version is moved into the expected directory and the prepare command completes without the ENOENT error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100