npm config get registry

你们中的一些人可能正在为您的项目或公司从私有包注册表安装。那太棒了!你们中的其他人可能正在关注教程或 StackOverflow 问题,以解决您可能遇到的问题。有时,这可能需要更改您指向的注册表。npm doctor 的这一部分只是让您,也许是帮助您获得支持的人,知道您没有使用默认注册表。

Some of you may be installing from private package registries for your project or company. That's great! Others of you may be following tutorials or StackOverflow questions in an effort to troubleshoot problems you may be having. Sometimes, this may entail changing the registry you're pointing at. This part of npm doctor just lets you, and maybe whoever's helping you with support, know that you're not using the default registry.