npm.cmd uses deprecated -g
switch instead of --location=global
#43300
Labels
wrong repo
Issues that should be opened in another repository.
Version
v16.15.0
Platform
Microsoft Windows NT 10.0.22000.0 x64
Subsystem
No response
What steps will reproduce the bug?
Clean install of nodejs 16.15.0 and update of npm to 8.12.0
Execute
npm --version
:How often does it reproduce? Is there a required condition?
Everytime
What is the expected behavior?
No warning about the deprecated option.
What do you see instead?
A warning about a deprecated commandline switch which I didn't enter.
Additional information
Change required: use
--location=global
instead of-g
in the batch files:node/deps/npm/bin/npm.cmd
Line 12 in e46c680
node/deps/npm/bin/npx.cmd
Line 13 in e46c680
The text was updated successfully, but these errors were encountered: