404 Errors cause by Lookups to registry.npmjs.org #9506
Replies: 2 comments 8 replies
-
If you add Try to avoid packageRules with nested objects (minor, major). |
Beta Was this translation helpful? Give feedback.
-
I found out what the issue was. It was caused by the package-lock.json files having outdated references to "registry.npmjs.org". Even though I removed our internal dependencies, having any references to "registry.npmjs.org" would cause 404 errors for our own libraries. (???) |
Beta Was this translation helpful? Give feedback.
-
Hello!
We are planning to use Renovate to only update internal libraries, which are hosted at:
https://package.acme.com/repository/npm-private
It is configured as a self-hosted (Docker) jenkins job that runs every 15 minutes that scans about GitHub 10 projects. We turned on automerging, but it isn't working because of "Artifact update problems", which I believe are caused by renovate looking for updates on the default npm registry:
Note that the versions are being updated correctly, which tells me that renovate is still finding the version info on our own private repo, but I would like to get rid of these 404 errors so that automerging works.
I added hostRules to disable our central configuration file to disable "registry.npmjs.org", but it doesn't seem to be working, as
the repos show that they were scanned with the new hostRules.
Here is the config file, which was provided by rarkins:
Thanks!!!
Rob G
Beta Was this translation helpful? Give feedback.
All reactions