Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue of not enough arguments #12

Open
mutoe opened this issue Aug 15, 2023 · 5 comments
Open

Issue of not enough arguments #12

mutoe opened this issue Aug 15, 2023 · 5 comments

Comments

@mutoe
Copy link

mutoe commented Aug 15, 2023

Hi,

Currently I am using your completion, but the completion of packages does not work on my computer. When I type pnpm remove <tab>, it prompts the following

❯ pnpm remove
_values:compvalues:11: not enough arguments
_values:compvalues:11: not enough arguments
_values:compvalues:11: not enough arguments

But I can use command completion such as remove (when I type pnpm re<tab>, will completion to pnpm remove )

OS: macOS 13.5 M1 chip
node: 20.5.0
pnpm: 8.6.11
shell: zsh + zinit

Do you have any idea?

I'm a completion novice. How can I debug this error?

@g-plane
Copy link
Owner

g-plane commented Aug 15, 2023

This completion will run an executable file. I'm not sure whether there will be permission issue on macOS or not.

@mutoe
Copy link
Author

mutoe commented Aug 15, 2023

I just opened the plugin directory to check it, pnpm-shell-completion files have x permissions

image

@mutoe
Copy link
Author

mutoe commented Aug 15, 2023

I also installed your g-plane/zsh-yarn-autocompletions plugin, it works fine.

I suspect it's pnpm where something went wrong. But I don't have any clue, how do I locate if it's a pnpm issue?

@g-plane
Copy link
Owner

g-plane commented Aug 15, 2023

No, it shouldn't be a pnpm issue, because it doesn't use pnpm.

@g-plane
Copy link
Owner

g-plane commented Aug 15, 2023

I have no idea about this currently. Let's keep issue open and see if there're similar problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants