Hello,
updated flow-bin with yarn global add flow-bin@latest. yarn global ls shows "[email protected]". flow version shows Flow, a static type checker for JavaScript, version 0.37.4. How update flow to latest version?
OS: Linux Ubuntu 16.04
Yarn: latest
P.S. I also did reboot several times...
Thanks for any help!
Fixed.
whereis flowsudo rm -rf /usr/bin/flowyarn global add flow-bin@latestI don't remember if I installed Flow with NPM or no, even after deleting whole Node.js and NPM and reinstalling, it was always 0.37.4 version, but after that fix everything seems fine.
I think it is better to keep flow-bin as dev dependency in your project.
Most helpful comment
I think it is better to keep flow-bin as dev dependency in your project.