Skip to content

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

Closed
flensrocker wants to merge 1 commit into
npm:latestfrom
flensrocker:issue_4980
Closed

npm.cmd, npx.cmd - replace deprecated switch -g with --location=global#4981
flensrocker wants to merge 1 commit into
npm:latestfrom
flensrocker:issue_4980

Conversation

@flensrocker

Copy link
Copy Markdown

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

Fixes #4980

@fritzy

fritzy commented Jun 2, 2022

Copy link
Copy Markdown

@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