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 believe this is a bug because the behavior seems problematic and is different than the npm install behavior. However, perhaps there is something fundamentally different about how this should work with yarn and this is expected behavior.
running yarn install --production attempts to resolve this package in devDependencies:
yarn install v0.23.2
[1/4] 🔍 Resolving packages...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "http://npm-registry/123.tgz: getaddrinfo ENOTFOUND npm-registry npm-registry:80".
info If you think this is a bug, please open a bug report with the information provided in "/Users/mitlloyd/projects/yarn-test/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
npm on the other hand does not try to resolve this dependency and succeeds.
As of writing I'm on current version: 0.23.2.
Do you want to request a feature or report a bug?
I believe this is a bug because the behavior seems problematic and is different than the
npm
install behavior. However, perhaps there is something fundamentally different about how this should work with yarn and this is expected behavior.What is the current behavior?
Given a package.json like this:
running
yarn install --production
attempts to resolve this package in devDependencies:npm
on the other hand does not try to resolve this dependency and succeeds.What is the expected behavior?
yarn install
does not try to reach "http://npm-registry/123.tgz".Please mention your node.js, yarn and operating system version.
Node: 7.4.0
OS: Mac OS Sierra 10.12.4
The text was updated successfully, but these errors were encountered: