jijimo
V2EX  ›  Node.js

npm owner add 添加用户失败

  •  1
     
  •   jijimo · Nov 3, 2021 · 4803 views
    This topic created in 1656 days ago, the information mentioned may be changed or developed.

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

    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
       Nov 3, 2021
    通过 shell 添加一直不成功,心灰意冷之际发现 npm 网站上可以 invite maintainer, 问题得以解决!稀里糊涂的~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3004 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 15:13 · PVG 23:13 · LAX 08:13 · JFK 11:13
    ♥ Do have faith in what you're doing.