npm -v error:
"npm WARN config global --global
, --local
deprecated. Please use instead --location=global
"
Use Vscode (obtain management rights) to open \node.js\npm and npm.cmd,
and change line 12 of the npm.cmd file to npm In line 22 of the file, replace prefix -g with prefix --location=global
"npm WARN config global `--global`, `--local` is deprecated. Please use `--location=global` instead"
Guess you like
Origin blog.csdn.net/m0_47147246/article/details/125901135
Recommended
Ranking