Make sure to use the public npm registry instead of the private shopify one #3501
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
When trying to install a new module / update an existing one, sometimes this repo was resolving to the private shopify npm registry, which this repo does not have access to. This happens for people who have a user npmrc
~/.npmrcSolution
This explicitly sets the npm registry, overriding any user-defined ones.
🎩
Checklist
Note
Even though I am telling it to use npmjs.org, it is resolving to yarnpkg.com. I asked claude about this, because that was unexpected. It is no longer resolving to the private repo (like it was before), but this was still unexpected. It made it sound like that's expected in yarn v1.