I want to use instance level NPM registry on the self-managed gitlab. But I can not publish the package to gitlab group with the error 404.
I have checked the doc and config the .npmrc, look like blew:
@lemon-fe:registry=https://gitlab.nhsoft.cn/api/v4/packages/npm/
//gitlab.nhsoft.cn/api/v4/packages/npm/:_authToken=GROUP_DEPLOY_TOKEN
ant it shows:
npm ERR! code E404
npm ERR! 404 Not Found - PUT https://gitlab.nhsoft.cn/api/v4/packages/npm/@lemon-fe%2fcomponents - 404 Not Found
npm ERR! 404
npm ERR! 404 '@lemon-fe/components@0.0.1' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
lemon-fe is my group name
Then I tried the project level registry and it works. but I still want to use the instance level registry
Any ideas?
Thanks a lot