Thefuck: Suggest yarn add x for yarn install x

Created on 12 May 2017  Â·  2Comments  Â·  Source: nvbn/thefuck

Yarn has changed from using yarn install PACKAGE_NAME to yarn add PACKAGE_NAME but when running fuck I get yarn install suggested.

➜  Twistly git:(master) ✗ yarn install ava
yarn install v0.23.4
error `install` has been replaced with `add` to add new dependencies. Run "yarn add ava" instead.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
➜  Twistly git:(master) ✗ fuck            
yarn install [enter/↑/↓/ctrl+c] 
Aborted

Most helpful comment

and perhaps yarn update suggest yarn upgrade

All 2 comments

I'd also like to see yarn rm suggest yarn remove, personally.

and perhaps yarn update suggest yarn upgrade

Was this page helpful?
0 / 5 - 0 ratings

Related issues

agross picture agross  Â·  5Comments

steve02081504 picture steve02081504  Â·  5Comments

jabbson picture jabbson  Â·  4Comments

shelbyKiraM picture shelbyKiraM  Â·  5Comments

lbenedetto picture lbenedetto  Â·  5Comments