brew info yarn
outputs this:
yarn: stable 1.7.0
JavaScript package manager
https://yarnpkg.com/
Conflicts with:
hadoop (because both installyarn
binaries)
/usr/local/Cellar/yarn/1.7.0 (14 files, 4.2MB)
Built from source on 2018-07-03 at 15:08:58
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/yarn.rb
From what I can see in this repo, latest stable yarn release is 1.8.0.
The official docs for macOS suggest to use brew (as first option) to install yarn:
https://yarnpkg.com/en/docs/install#mac-stable
Would be good to keep that installation method up-to-date.
Thanks! <3
Hi!
As you can see here v1.8.0 is only _pre-release_. Also v1.8.0 has at least one bug that at least make it's unusable for our project. Just wait for v1.8.1 or v1.9.0! Also https://yarnpkg.com/ says the latest version is 1.7.0.
Ah, I had no idea v1.8.0 is a pre-release.
I'm not used to minor version increases to be pre-releases. I guess it
makes sense.
On Tue, Jul 3, 2018, 16:36 Philipp Schuster notifications@github.com
wrote:
Hi!
As you can see here v1.8.0 is only pre-release. Also v1.8.0 has at
least one bug that at least make it's unusable for our project. Just wait
for v1.8.1 or v1.9.0! Also https://yarnpkg.com/lsays latest version is
1.7.0.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yarnpkg/yarn/issues/6061#issuecomment-402179858, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEHbSqMIl8VTvSHdrvtTZJFGmsYjI5Pks5uC4F7gaJpZM4VA7Oy
.
Yeah, currently we don't push RC/prerelease versions to Homebrew. You can install RC versions using the instructions on the site.
Hello!! According to Yarn's official website, 1.9.2 is the latest stable version.
I think it's time to update homebrew's formulae 🙂
@abdelkrimdev The formula is updated in brew with version 1.9.2
I had to do a reinstall of yarn to get it to reflect the latest version (macOS).
I ran npm uninstall -g yarn
and brew uninstall yarn
(didn't remember how I installed it). Then ran brew install yarn
.
@kapoko So weird, even after npm uninstall -g yarn
and brew uninstall yarn
it still says i have yarn version 1.3.2 on yarn -version
. Do you have any advice?
@mesqueeb Try whereis yarn
and see which version of Yarn is being used. Perhaps you installed it both via the installation script and via Homebrew.
@Daniel15 Thanks! I found the problem.
I had it installed 1 time via Homebrew and one time via npm -g i
hahaha
@kapoko you are a life-saver!!!
I ran brew uninstall --force yarn
, brew uninstall --force node
, nvm uninstall yarn
and nvm uninstall node
Then I installed node and yarn using nvm.
create-react-app
is working perfectly now 🤩
Most helpful comment
Hello!! According to Yarn's official website, 1.9.2 is the latest stable version.
I think it's time to update homebrew's formulae 🙂