New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yarn v1.10.x does not respect .npmrc and does package lookup from registry.yarnpkg.com instead #6436
Comments
Same problem on Ubuntu 18.04, node 8.11.4, yarn 1.10.1. |
Hm, we're seeing a similar problem: updating the lockfile with |
I'm encountering the same issue on Ubuntu 16.04, node 8.11.4, yarn 1.10.1. Somehow, I'm not encountering the issue on macOS High Sierra version 10.13.6, with the same version of node and yarn, so it might be more complicated. EDIT: My situation is completely in line to what @breunigs is experiencing, as Moreover, if I perform a |
I have the same setup as ajvengo, and I have the same issue. I tried the 1.11.x release candidate and that also has the issue. |
We're having a similar issue with our builds at work with yarn version 1.10.1. We don't use a |
@rdadoune if you don't have a |
I actually just set it via the global config i.e. |
Hey, sorry about this 🙁 The 1.12 release will disable the automatic integrity migration by default (meaning that we won't add it anymore if it's missing), which will help. Note that it will be re-enabled at the next major release (Yarn 2.0), so we recommend you to enable it manually in order to migrate your lockfile when you have some time (documentation will be ready at the same time as the 1.12 reaches stable). Also note that using |
Do you want to request a feature or report a bug?
What is the current behavior?
Instead of looking up package from local npm registry for example, Yarn tries to lookup package from "registry.yarnpkg.com"
If the current behavior is a bug, please provide the steps to reproduce.
Just upgrade from v1.9.4 and it breaks.
What is the expected behavior?
Yarn would lookup packages from the registry defined in .npmrc.
Please mention your node.js, yarn and operating system version.
macOS Mojave,
Node v8.11.x
Yarn v1.10.x
The text was updated successfully, but these errors were encountered: