每当我尝试在 ubuntu 中安装 firebase 时,都会收到此错误。
我使用了命令:
sudo npm install - firebase cli
,但我无法登录,因为它说找不到 firebase 命令。
[email protected]
版本升级到 7 或更高版本。
以下是软件包作者关于弃用的消息;
请升级到版本7或更高版本。旧版本在某些情况下可能会使用 Math.random(),这已知是有问题的。有关详细信息,请参阅https://v8.dev/blog/math-random。
您可以运行
npm install uuid@latest
来升级到uuid
的最新稳定版本。
试试这个
npm install [email protected] --force
执行 npm cache clean --force 并执行 npm install [电子邮件受保护] --force
为我工作