Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果没有弹出以下错误,我无法安装任何 node.js 模块。错误代码参考 package.json 文件。任何想法为什么会发生这种情况将不胜感激。
这些不是错误,它们只是警告。一切都应该如此,尽管模块所有者可能应该清理他们的 package.json 文件。
这些不是错误,是警告。
正如我已经在同一个问题中所述,这只是从 NPM 1.2.20 开始添加的一项新检查。
NPM 中有很多包在它们的文件中仍然缺少该repository字段。package.json
repository
package.json