我已将一个包发布到 Gitlab NPM 注册表,现在我正在尝试将该包安装到另一个项目中。
当我在终端运行时:
yarn add @org-name/project
或 npm i @org-name/project
我得到(4x):
info There appears to be trouble with the npm registry (returned undefined). Retrying…
然后在终端进行上述 4 次尝试后,我得到:
ResponseError: Request failed “503 Service Unavailable”
我已向 Gitlab 和小组授权,因为我能够发布包并按照此处的每个步骤进行操作:https://docs.gitlab.com/ee/user/packages/npm_registry
关于为什么我可以发布但不能从同一个 repo 或任何其他 repo 下载相同的包的任何想法?
在此先非常感谢您!
答案 0 :(得分:0)
结果证明是我的错别字。乐叹。