Npm安装报错:npm warn config global `--global`, `--local` are deprecated. use `--location=global` instead
在安装node后,我们window+r打开cmd窗口输入node -v 回车能正常输出版本号,但接着输入npm -v 回车后却报警:npm warn config global `--global`, `--local` are deprecated. use `--location=global` instead.(如下图)
原创
2022-07-22 10:27:57 ·
6513 阅读 ·
8 评论