npm owner add 添加用户失败

2021-11-03 16:36:53 +08:00
 jijimo

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

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
4170 次点击
所在节点    Node.js
1 条回复
jijimo
2021-11-03 16:58:57 +08:00
通过 shell 添加一直不成功,心灰意冷之际发现 npm 网站上可以 invite maintainer, 问题得以解决!稀里糊涂的~

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/812771

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX