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

npm.cmd, npx.cmd - replace deprecated switch -g with --location=global #4981

Closed
wants to merge 1 commit into from

Conversation

flensrocker
Copy link

The commandline switch -g is deprecated and should be replaced with --location=global.

Fixes #4980

@fritzy
Copy link
Contributor

fritzy commented Jun 2, 2022

@flensrocker Thanks for this! We ended up doing an unscheduled release npm@8.12.1 today in order to un-deprecrate global as it was a mistake to do so in the first place. Here is that PR. #4982

@fritzy fritzy closed this Jun 2, 2022
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

Successfully merging this pull request may close these issues.

[BUG] npm.cmd uses deprecated switch -g
2 participants