Gitlab enterprise 15.11.2-ee npm registry throwing error while npm install

Hi All,

We are using gitlab enterprise edition 15.11.2-ee
We have already publish a npm package in gitlab.

When we are trying to use npm package in other project in the same group , we are getting error.
here is .npmrc file of the project

when we are running npm install

@mycompany:registry=https://xxx/api/v4/groups/GROUP_ID/-/packages/npm/
//xxx/api/v4/projects/GROUP_ID/packages/npm/:_authToken=${NPM_TOKEN}
//xxx/api/v4/packages/npm/:_authToken=${NPM_TOKEN}

error we are getting while installation

npm ERR! code E404
npm ERR! 404 Not Found - GET https://xxx/api/v4/packages/groups/GROUP_ID/-/packages/npm/@mycompany%2ftest - 404 Not Found
npm ERR! 404 

When registry is pointed to https://xxx/api/v4/projects/PROJECT_ID/packages/npm/, we are not getting issue.
Now we have another package, to be include and we are not able to achieve it.