Npm 在尝试为 flutter 安装 firebase 工具时给出折旧错误

Npm gives depreciated errors when trying to install firebase tools for flutter

当我在 Node.js 命令提示符下 运行 "npm install -g firebase-tools" 时,我得到以下信息。

C:\Users\DELL>npm install -g firebase-tools
npm WARN deprecated har-validator@5.1.3: this library is no longer supported
npm WARN deprecated debug@4.1.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

changed 687 packages, and audited 688 packages in 2m

35 packages are looking for funding
  run `npm fund` for details

21 vulnerabilities (15 moderate, 6 high)

尝试npm cache verify,然后重试

因此,我决定忽略折旧错误并继续安装中的进一步步骤,我能够完成 firebase 安装。