NPM失败'http fetch 404'

时间:2018-10-11 07:46:07

标签: node.js npm http-status-code-404 nexus node-commander

我在使用npm getRemoteTarball操作时遇到了一个非常奇怪的问题,其中某些独立性软件包没有从我的联系服务器中获取。 getRemoteTarball操作中的url格式被修改为错误的路径,并导致失败。

例如: 19461 silly mapToRegistry uri http://nexusurl.nexus:8081/nexus/content/repositories/npmjs-registry-org/@types%2fcommander 19462详细的addRemoteTarball http://nexusurl.nexus:8081/nexus/c/content/repositories/npmjs-registry-org/@types/commander/-/commander-2.12.2.tgz不在飞行中;添加

联系中的伪影位于 http://nexusurl.nexus:8081/nexus/content/repositories/npmjs-registry-org/commander

.npmrc文件正确包含npmjs-registry-org存储库地址为 http://nexusurl.nexus:8081/nexus/content/repositories/npmjs-registry-org/

有人可以帮助您说明发生这种更改的原因以及如何解决该更改吗?

节点v6.10.1 npm v3.10.10

谢谢!

0 个答案:

没有答案