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
With a new build environment I installed yarn 1.10.1. Our environment uses a local Nexus repository "yarn-private" and during build time also downloads open source packages from https://registry.yarnpkg.com/. I ran the "yarn config set registry ..." to reference our local Nexus repository it also created the new .yarnrc file in users home directory. When I ran "yarn install" I would get the error below:
yarn install v1.10.1
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
error Couldn't find package xxxxxx required by xxxxxxx on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
I then did a "npm uninstall -g yarn" followed by "npm install -g yarn@1.9.4" and the build worked. And I changed nothing else. Something must have changed in between yarn versions 1.9.4 and 1.10.1.
The text was updated successfully, but these errors were encountered:
With a new build environment I installed yarn 1.10.1. Our environment uses a local Nexus repository "yarn-private" and during build time also downloads open source packages from https://registry.yarnpkg.com/. I ran the "yarn config set registry ..." to reference our local Nexus repository it also created the new .yarnrc file in users home directory. When I ran "yarn install" I would get the error below:
yarn install v1.10.1
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
error Couldn't find package xxxxxx required by xxxxxxx on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
I then did a "npm uninstall -g yarn" followed by "npm install -g yarn@1.9.4" and the build worked. And I changed nothing else. Something must have changed in between yarn versions 1.9.4 and 1.10.1.
The text was updated successfully, but these errors were encountered: