当我在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)
3条答案
按热度按时间ih99xse11#
所以,我决定忽略折旧的错误,继续安装的进一步步骤,我能够完成Firebase的安装。
tkclm6bt2#
尝试
npm cache verify
,然后重试ar7v8xwq3#
尝试使用
curl -sL https://firebase.tools | bash
安装。对我有效。