-
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 fails to install public scoped packages when _auth is defined in .npmrc #2515
Comments
I have the exact same thing happening to me with the exact same package. |
|
I have same issue. If I have _auth token in .npmrc I can not successfully excecute |
Yarn had issues install dependencies due to private scoped packages and custom _auth value in .npmrc. See yarnpkg/yarn#2515
Closing as we stopped reading |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Yarn fails to find scoped packages when
_auth
is defined in.npmrc
.If the current behavior is a bug, please provide the steps to reproduce.
Sample repository located: https://github.com/AzGoalie/public-scope-yarn-install-failure
Create a project with a
package.json
and.npmrc
Add
"@turf/turf": "3.4.1"
to dependencies in package.jsonAdd
always-auth=false
and_auth=fake-auth-token
to.npmrc
Run
yarn install
What is the expected behavior?
Yarn should install the scoped package.
Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: