How to prevent archiveUrl from appearing in yarn.lock? #3012
Unanswered
grubeninspekteur
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The
If the registry uses something else than this format, then we cannot just store the version; we need the full url. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
we use different registries locally and at the client side. When we run yarn install locally (against Nexus), an __archiveUrl is added to the resolution keys. This results in
getaddrinfo ENOTFOUND
on the CI site that does not have acess to the specified registry.I tried removing the __archiveUrl as a prepare step of the pipeline, however then
yarn install --immutable
may fail as it wants to merge entries:Though this could be an artifact from the migration. After removing the URLs locally and running
yarn install
, the entries were merged as well.Still - is there a way to tell Yarn not to add the URL at all? Is the archiveUrl really necessary?
Beta Was this translation helpful? Give feedback.
All reactions