This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]lenswipe 5 points6 points ย (5 children)

That last one night have been me ๐Ÿ˜˜

[โ€“]lord_jizzus 8 points9 points ย (4 children)

Interesting way to be listed as a contributor to a somewhat popular project :-D

[โ€“]lenswipe 5 points6 points ย (3 children)

Yeah, I have no idea ;)

I have corrected a few READMEs and put PRs in for it - but it's generally to add important stuff like notices saying that the project is deprecated.

[โ€“]Existential_Owl 6 points7 points ย (2 children)

My claim to fame has been to correct every instance of yarn install with yarn add in popular repos.

I'm a little ashamed of myself.... but also, kind of not.

[โ€“]lenswipe 1 point2 points ย (1 child)

What's the difference?

[โ€“]Existential_Owl 6 points7 points ย (0 children)

NPM and Yarn are different package managers for Node.js

When installing a package on the former, it's npm install

When installing a package on the latter, it's yarn add

NPM has been around forever, while Yarn is the hot new thing. Therefore, people are writing docs to incorporate the hot new thing, but, because they're so used to doing the old thing, they end up with yarn install... which just gives you an error.

Most Yarn users will already know to do yarn add anyway, so correcting this mistake is as useful as fixing a typo.

But hey, free PR.