pagerduty-cli icon indicating copy to clipboard operation
pagerduty-cli copied to clipboard

Broken symlink

Open mwarkentin opened this issue 1 year ago • 3 comments

Errors when running pd. I attempted a fresh install before this. Not sure how I ended up in this state:

❯ sh -c "$(curl -sL https://raw.githubusercontent.com/martindstone/pagerduty-cli/master/install.sh)"
This script requires superuser access.
You will be prompted for your password by sudo.
Installing CLI from https://ms-pagerduty-cli.s3-us-west-2.amazonaws.com/channels/stable/pd-darwin-arm64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 34.3M  100 34.3M    0     0  1018k      0  0:00:34  0:00:34 --:--:--  836k
v16.19.0
pd installed to /usr/local/bin/pd
/Users/mwarkentin/.local/share/pagerduty-cli/client/bin/pd: line 16: /Users/mwarkentin/.local/share/pagerduty-cli/client/bin/../0.1.18-3cb4ffe/bin/pd: No such file or directory
❯ pd
/Users/mwarkentin/.local/share/pagerduty-cli/client/bin/pd: line 16: /Users/mwarkentin/.local/share/pagerduty-cli/client/bin/../0.1.18-3cb4ffe/bin/pd: No such file or directory

mwarkentin avatar Aug 06 '24 13:08 mwarkentin

Hi @mwarkentin ,

Sometimes the local cache gets messed up by update. If you remove the directory ~/.local/share/pagerduty-cli then the error should go away. Let me know.

Thanks, Martin

martindstone avatar Aug 06 '24 13:08 martindstone

Thanks Martin! That solved my issue also, which was the same thing.

khntst avatar Aug 06 '24 15:08 khntst

Sorry, this fixed it and I guess I forgot to update. Maybe good to document in the README or similar..

mwarkentin avatar Aug 30 '24 17:08 mwarkentin