Skip to content
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

Why isn't 0.18 installable from the npm registry? #2244

Closed
zeke opened this issue Dec 13, 2016 · 3 comments
Closed

Why isn't 0.18 installable from the npm registry? #2244

zeke opened this issue Dec 13, 2016 · 3 comments

Comments

@zeke
Copy link
Contributor

zeke commented Dec 13, 2016

0.18 is among the versions published to the npm registry:

❯ npm show yarn versions
 
[ '0.1.0',
  '0.1.1',
  '0.1.2',
  '0.1.3',
  '0.15.1',
  '0.16.0',
  '0.16.1',
  '0.17.0',
  '0.17.2',
  '0.17.3',
  '0.17.4',
  '0.17.5',
  '0.17.6',
  '0.17.7',
  '0.17.8',
  '0.17.9',
  '0.17.10',
  '0.18.0' ]

but npm installs an older version with a deprecation warning:

❯ npm i -g yarn
npm http request GET https://registry.npmjs.org/yarn
npm http 304 https://registry.npmjs.org/yarn
npm WARN deprecated yarn@0.17.10: It is recommended to install Yarn using the native installation method for your environment. See https://yarnpkg.com/en/docs/install

I assume this means npm installing the yarn CLI will no longer be supported. Is that a correct assumption?

@newoga
Copy link

newoga commented Dec 14, 2016

@zeke 0.18.0 is a pre-release. npm install will install the version specified at the latest tag which currently is 0.17.10. I'm sure once 0.18.0 is stable they'll update the latest tag to 0.18.0.

$ npm dist-tag ls yarn
latest: 0.17.10
rc: 0.18.0

@Daniel15
Copy link
Member

Daniel15 commented Dec 14, 2016

Yes, @newoga is right! 0.18.0 is essentially a release candidate. If using npm, you can use npm install -g yarn@rc to get 0.18.0. We do need to do a much better job of handling RCs - That'll be covered by #2161.

I'm going to close this issue since your question was answered. Thanks for trying Yarn! 😃

@zeke
Copy link
Contributor Author

zeke commented Dec 14, 2016

npm install -g yarn@rc did the trick. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants