解决:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead
- 目录
- 一、问题描述
- 二、解决办法
- 1.找到nodejs安装目录下的npm与npm.cmd两个文件
- 2、将npm的23行和npm.cmd的12行的-g更换成--location=global
- 3、重新开启cmd命令行
2025-02-26 11:02:28
2025-02-26 11:02:28
2025-02-26 11:02:27
2025-02-26 11:02:27
2025-02-26 11:02:27
2025-02-26 11:02:27
2025-02-26 11:02:26
2025-02-26 11:02:26
2025-02-26 11:02:26
2025-02-26 11:02:26