asdf-plugin-manager icon indicating copy to clipboard operation
asdf-plugin-manager copied to clipboard

Unable to add plugins through the CLI

Open jacrys opened this issue 11 months ago • 3 comments

Describe the bug

When attempting to add a plugin using the CLI, the output is received :

[INFO] Adding: sed: -e expression #1, char 0: no previous regular expression

Steps to reproduce

Add a plugin using the CLI, e.g.: asdf-plugin-manager add shellcheck

Expected behavior

The plugin is added to the internal list of plugins

Screenshots

Image

Additional context

All pre-reqs are installed. Environment: OS: Ubuntu 24.04 noble Kernel: x86_64 Linux 5.15.167.4 Shell: zsh 5.9 Asdf v0.14.1 Asdf-plugin-manager v1.4.0

jacrys avatar Nov 26 '24 20:11 jacrys

I get a different error on my system (mac os 14.7.1)

asdf-plugin-manager add helm-docs            
[INFO] Adding:   
sed: first RE may not be empty

Keep in mind, Mac OS ships their own version of sed, that has some differences from, say, ubuntu or rhel versions of sed.

CafeLungo avatar Dec 10 '24 18:12 CafeLungo

Wow I can't believe I forgot to add that. 🤦🏻 I am running Ubuntu Noble.

jacrys avatar Dec 12 '24 03:12 jacrys

@jacrys @CafeLungo, thanks for reporting that 🙌

Please mention all versions (OS, asdf, asdf-plugin-manager) and the steps to reproduce the issue.

aabouzaid avatar Dec 12 '24 11:12 aabouzaid