-
Notifications
You must be signed in to change notification settings - Fork 58
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
fix(config): remove deprecation warning for --global
#518
Comments
is there a work around? |
@wolfpackt99 Downgrade to npm v8.10.0? |
@wolfpackt99 we're shipping a patch right now to remove the deprecation warning as we speak. (ref. npm/cli#4984) |
done! published v8.12.1 with this reversed |
Is this fixed for sure in 8.12.1?
|
@alexrosenfeld10 Perhaps the npm in your zsh initialization is a different version? Does executing a global command like |
@mscdex yeah, seems like you're right - the initialization must be using a different version, because after initialization that command runs w/o a warning. |
Summary
A mistake was made creating this issue & subsequently led to us issuing a warning that
--global
was being removed. For context,--global
will be changing it's underlying behaivor to map to--location=global
which maps with existing--location
-aware commands (ie.npm config
& inv9
npm exec
)Exit Criteria
npm
with--global
should not warn usersReferences & Links
--location
&--strategy
#458--global
(--location=global
) #496The text was updated successfully, but these errors were encountered: