本地 npm 注册表,无法创建团队或组织 (verdaccio)

Local npm registry, can't create team or org (verdaccio)

有一台服务器,我们在其中配置了全新安装的 verdaccio 来管理 NPM 包的本地缓存。我们需要授予某些特定用户发布包的权限,并管理其他用户的包访问权限。为了发布目的,我们创建了一个团队,将我们的包发布者用户放入该团队,最后授予该团队管理员权限。

关于创建团队的问题,应该有一个组织,但没有通过命令行创建组织的文档。

已尝试以下步骤

npm team create publishers
npm ERR! code EINVALIDTYPE
npm ERR! typeerror Error: Argument #1: Expected string but got null
npm ERR! typeerror at /root/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/libnpmteam/index.js:20:5
npm ERR! typeerror at /root/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/libnpmteam/index.js:104:5
...
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-06-01T04_49_13_414Z-debug.log
npm team create admin:publishers
npm ERR! code E404
npm ERR! 404 Not Found - PUT http://localhost:4873/-/org/admin/team

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-06-01T04_49_04_772Z-debug.log

链接已读:npm team - npm org - verdaccio

Verdaccio 不支持 npm teamnpmjs 创建的任何组织功能。您可以在此处找到 https://github.com/verdaccio/verdaccio#compatibility 您可以使用的命令列表。

如果您想自己支持这些命令,您可以为其创建一个插件中间件。