V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
jijimo
V2EX  ›  Node.js

npm owner add 添加用户失败

  •  1
     
  •   jijimo · 2021-11-03 16:36:53 +08:00 · 4135 次点击
    这是一个创建于 913 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如题,报错如下,有朋友遇到过吗,求指教。

    npm owner add woshiuser woshipackagename
    npm ERR! code E404
    npm ERR! 404 Not Found - PUT https://registry.npmjs.org/woshipackagename/-rev/67-0c0743a0c36af4c60ae004585d9d5630 - Failed to save packument.
    npm ERR! 404 
    npm ERR! 404  'woshipackagename@latest' is not in this registry.
    npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
    npm ERR! 404 
    npm ERR! 404 Note that you can also install from a
    npm ERR! 404 tarball, folder, http url, or git url.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /Users/woshiuser/.npm/_logs/2021-11-03T08_28_16_064Z-debug.log
    
    jijimo
        1
    jijimo  
    OP
       2021-11-03 16:58:57 +08:00
    通过 shell 添加一直不成功,心灰意冷之际发现 npm 网站上可以 invite maintainer, 问题得以解决!稀里糊涂的~
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2542 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 12:57 · PVG 20:57 · LAX 05:57 · JFK 08:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.