Skip to content

Registry settings on .npmrc file being ignored #3612

@franzrecinos

Description

@franzrecinos

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Yarn fails to use registry specified in .npmrc.

If the current behavior is a bug, please provide the steps to reproduce.
Create a project with a package.json and .npmrc
Add @troveng/[email protected] to dependencies in package.json

Run yarn install

What is the expected behavior?
Yarn should install and use the registry settings from .npmrc.

Please mention your node.js, yarn and operating system version.
node = 6.9.5
yarn = 0.24.6
MacOS Sierra

We have some private repos. When doing yarn install some packages are not found because yarn is using the yarn registry and not npm's specified in the .npmrc. We can fix it via yarn config set commands. Is the expected behavior to have yarn config itself via .npmrc or we have to explicitly do it via cli?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions