You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get a project building in CI. Yarn cache is cleaned.
I have the following file in the same directory I'm trying to run yarn install in with a scoped package in the package.json.
Locally, it works fine with this file at ~/.npmrc. However in the CI environment, it needs to be in the project workspace.
What is the expected behavior?
Should be effectively the same as a user based .npmrc.
Is there a yarnrc equivalent of this file I can generate? Artifactory only provides npm instructions.
Environment
Node Version: 10.16.3
Yarn v1 Version: 1.22.4
OS and version: macOS 10.15.4
The text was updated successfully, but these errors were encountered:
i'm also seeing some weird interaction with a project-level .yarnrc. I have both files with the same registry set (an NPM mirror and a private scoped registry). Auth credentials are set in the .yarnrc file only
if only the .npmrc file is present yarn is not picking up the private registries at all
if only the .yarnrc file is present the registries are resolved correctly, but there's no credentials
if both are present the private registries don't get picked up again
Bug description
Command
What is the current behavior?
I'm trying to get a project building in CI. Yarn cache is cleaned.
I have the following file in the same directory I'm trying to run
yarn install
in with a scoped package in thepackage.json
..npmrc
Locally, it works fine with this file at
~/.npmrc
. However in the CI environment, it needs to be in the project workspace.What is the expected behavior?
Should be effectively the same as a user based
.npmrc
.Is there a yarnrc equivalent of this file I can generate? Artifactory only provides npm instructions.
Environment
10.16.3
1.22.4
macOS 10.15.4
The text was updated successfully, but these errors were encountered: