-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 ignores .npmrc settings file #2193
Comments
|
It respects npmrc registry, so the title is at least a little bit misleading 😄 |
Bad english :) worry |
I have a .npmrc in my USER folder with |
It seems like Yarn is loading the configs in reverse order. I have a project-level
And when I run
and when I do Also, if I add a project-level
then yarn gives the correct value (empty string) for So, in essence, it seems like yarn is loading configs like so (lower priority first):
|
🔥 And this is still not fixed |
Yarn has its own settings in .yarnrc file https://yarnpkg.com/en/docs/yarnrc. |
Just to clarify regarding Ref: #4471 |
Do you want to request a feature or report a bug?
BUG
What is the current behavior?
It should respect npm settings https://docs.npmjs.com/files/npmrc
If the current behavior is a bug, please provide the steps to reproduce.
.npmrc
with contentsave-exact=true
$ npm init -y
yarn add jquery
What is the expected behavior?
It should install exact the latest version with no prefixs like
^
Please mention your node.js, yarn and operating system version.
Yarn version: v0.17.10
Node version: v7.2.0
NPM version: 3.10.9
SYSTEM: Kernel Version: 4.8.11-300.fc25.x86_64
Operating System: Fedora 25 (Workstation Edition)
OSType: linux
Architecture: x86_64
The text was updated successfully, but these errors were encountered: