Skip to content

the argument '--global' cannot be used with '[additional-packages]...' #28809

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

Open
qupig opened this issue Apr 8, 2025 · 1 comment
Open
Labels

Comments

@qupig
Copy link

qupig commented Apr 8, 2025

Version: Deno 2.2.8

> deno uninstall -g pack-a pack-b
error: the argument '--global' cannot be used with '[additional-packages]...'

Usage: deno uninstall --global <name-or-package> [additional-packages]...

The error message contradicts the Usage prompt.

@edilson258
Copy link

edilson258 commented May 17, 2025

The same issue happens with install sub command when flag -g is set, it does not give any warns but installs only the first package and ignores the additional packages.

I'm already working to allow deno uninstall --global x y and i can extend the solution and apply a similar patch to the install sub command as well if @marvinhagemeister agree with that.

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

No branches or pull requests

3 participants