You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
darcyclarke
changed the title
Deprecate & warn for <code class="notranslate">--global (<code class="notranslate">--location=global)
chore(config): Deprecate & warn for --global (--location=global)
May 2, 2022
Why was the cli -g/--global flag deprecated (in npm/cli#4879 and especially within the same major version as this seems pretty breaking IMO)? Having to do --location=global seems overly verbose.
@mscdex deprecation does not mean removal (so npm i -g <pkg> still works the same way). We're intending to patch this. Going to close this issue & make a new one explaining the details further there (will cross link once it's up)
No description provided.
The text was updated successfully, but these errors were encountered: