Sonatype - Nexus Repo NPM packages URL not correct

Viewed 1876

At my company, Nexus is being used to download external NPM packages as a proxy and keeping them cached. But, when I run npm install, some of the generated package URL's are not well built. Then a 404 Error is thrown because of it:

 error An unexpected error occurred: "<registry>/nodemon/-/1.19.1.tgz: Request failed \"404 Not Found\"

But the URL should be:

"<registry>/nodemon/-/nodemon-1.19.1.tgz"

Can someone help?

0 Answers
Related