[英]npm install not installing all the dependencies
产生这两个警告的原因是:
package.json
文件中没有“description”属性定义或为空字符串。 这可能不是强制性的,但上传没有描述的项目会让人很难搜索。package.json
文件中没有“存储库”属性定义或为空字符串。 通常,您可以将项目的 url 放在 GitHub 之类的存储库中,但这不是强制性的。 通常,在项目文件夹中第一次运行npm install
时会输入这些字段以响应安装问题,但您始终可以编辑package.json
以稍后添加或更新它们。
计算已found vulnerabilities found
中的空格和audit fix
output 表明在found 0 vulnerabilities
中计数为0
。 尝试将 output 定向到文件,例如通过在项目文件夹中运行npm install >log.txt
来确定。 基本上,主要问题似乎是彩色文本的终端再现。
Colored text is produced by inserting ANSI escapes into NPM output strings and usually works in standard system terminal programs - for example, Windows 10 cmd
logs the message in white text with the 0
presented in green, both on a dark background, meaning it's completely readable .
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.