0

In a project which I work with there is private project library which is available for me directly - https://gitlab.some-project/some-utils In package.json it is requested like

  "dependencies": {
    "@some-project/some-utils": "0.1.42",
    ...
   }

This project wasn't uploaded to npm. I created .npmrc file and put there:

@8some-project:registry=https://gitlab.some-project.com/some-utils

But when I try to "run yarn @some-project/some-utils" I get:

error Received malformed response from registry for "@some-project/some-utils". The registry may be down.

What I am doing wrongly? How to install this library to another project?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
user18668497
  • 187
  • 1
  • 9
  • I think you might have to authenticate to the package registry. You might be able to do something like npm login (insert registry here) the. Provide your creds to sign in. – quizguy Jun 01 '22 at 23:11

1 Answers1

0

I just raised npm version and it works now

user18668497
  • 187
  • 1
  • 9