error: Uncaught (in promise) AlreadyExists: File exists (os error 17): symlink
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- deno, typescript
Research direction
Start with the symlink_with_overwrite and processEntry functions in pkgm/v0.11.1/bin/pkgm, using the reported pkgm install pipenv command to reproduce the failure. Trace how an existing python symlink is handled during mirror_directory. Done means repeated installation no longer requires manually removing the existing path and does not report the AlreadyExists error.
Written by the indexing model from the issue text.
Description
sudo /usr/local/bin/pkgm install pipenv
error: Uncaught (in promise) AlreadyExists: File exists (os error 17): symlink 'python' -> '/usr/local/pkgs/pipenv.pypa.io/v3000.0.0/venv/bin/python3'
Deno.symlinkSync(src, dst);
^
at Object.symlinkSync (ext:deno_fs/30_fs.js:519:3)
at symlink_with_overwrite (file:///Users/james/.pkgx/pkgx.sh/pkgm/v0.11.1/bin/pkgm:501:8)
at processEntry (file:///Users/james/.pkgx/pkgx.sh/pkgm/v0.11.1/bin/pkgm:375:7)
at async processEntry (file:///Users/james/.pkgx/pkgx.sh/pkgm/v0.11.1/bin/pkgm:363:9)
at async processEntry (file:///Users/james/.pkgx/pkgx.sh/pkgm/v0.11.1/bin/pkgm:363:9)
at async processEntry (file:///Users/james/.pkgx/pkgx.sh/pkgm/v0.11.1/bin/pkgm:363:9)
at async mirror_directory (file:///Users/james/.pkgx/pkgx.sh/pkgm/v0.11.1/bin/pkgm:350:3)
at async install (file:///Users/james/.pkgx/pkgx.sh/pkgm/v0.11.1/bin/pkgm:153:5)
at async file:///Users/james/.pkgx/pkgx.sh/pkgm/v0.11.1/bin/pkgm:65:20
I get this a lot. I have to fix it by just rm -r'ing whatever it says already exists.
- Dominant language
- TypeScript
- Stars
- 60
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from pkgxdev/pkgm
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
clawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
ZCode 3.14.3 に対応する Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
supermomonga/zcode-acp#24 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
growthbook/growthbook#7100 ·
-
triage
Difficulty 1/5 1-3 hours Newbie friendliness 88/100