Skip to content

error: Uncaught (in promise) AlreadyExists: File exists (os error 17): symlink #76

Description

@magnusviri
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions