Can not publish the package to npm instance level registry but project level works

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

Hello,
I ran into the same problem, then I re-read the doc and it’s made clear there:

Some features such as publishing a package is only available on the project-level endpoint.

I’m still trying to figure out the point of the instance-level endpoint in this case, though.

Greetings,
I believe the instance-level endpoint exists to provide a single URL that allows your projects to download all scope packages from it, instead of having to configure the project ids for every package.