为什么在安装任何软件包时会显示错误?

huangapple go评论76阅读模式
英文:

Why this shows error while installing any packages?

问题

每当我使用以下命令安装任何软件包

npm install

然后输出会出现错误,您可以在这里看到
(https://i.stack.imgur.com/1duiK.jpg)

英文:

Whenever I install any package with this command

> npm install

then output comes with errors,Here You can See
(https://i.stack.imgur.com/1duiK.jpg)

答案1

得分: 1

你实际上没有从 npm install 收到任何错误!看起来 npm 正在检测到你已经安装了所有所需的包,所以它只显示 up to date

但是,你会看到它也报告了一些安全漏洞或过时的依赖项,可以更新。这是正常的。你不必采取任何措施来使你的应用程序正常工作,但运行 npm audit fix 然后手动修复剩余的依赖错误将导致更安全的依赖树。

英文:

You're not actually getting any errors from npm install! It looks like npm is detecting that you've already installed all of the required packages, which is why it just says up to date.

However, you see that it is also reporting about some security vulnerabilities or out-of-date dependencies that could be updated. This is normal. You don't have to do anything to get your app to work, but running npm audit fix and then manually fixing the remaining dependency errors will result in a more secure dependency tree.

huangapple
  • 本文由 发表于 2023年5月28日 14:00:34
  • 转载请务必保留本文链接:https://go.coder-hub.com/76350155.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定