简体   繁体   English

Node.js npm安装验证程序

[英]Node.js npm install validator

I have to install the validator package for node.js 我必须为node.js安装验证程序包

That's what I did 这就是我做的

npm install validator

That's the output 这是输出

npm http GET https://registry.npmjs.org/validator
npm http 304 https://registry.npmjs.org/validator
npm WARN package.json policyfile@0.0.4 'repositories' (plural) Not supported.
npm WARN package.json Please pick one as the 'repository' field

Any idea what to do here? 知道该怎么做吗?

Ignore those. 忽略那些。 They are benign warnings and don't pertain to you as a user of the validator module. 它们是良性警告,与您作为验证器模块的用户无关。 The author of the validator module could fix them by correcting it's package.json file. 验证器模块的作者可以通过更正它的package.json文件来修复它们。 Not sure why NPM prints these here as they are mostly a nuisance to npm users and they are really messages for package authors. 不知道为什么NPM会在这里打印这些内容,因为它们对npm用户来说几乎是一个麻烦,它们实际上是包作者的消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM