pagerduty-cli
pagerduty-cli copied to clipboard
Broken symlink
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
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
Thanks Martin! That solved my issue also, which was the same thing.
Sorry, this fixed it and I guess I forgot to update. Maybe good to document in the README or similar..