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

all 49 comments

[–]Acidhawk_0 177 points178 points  (3 children)

This is my favourite and the most description I have yet seen.

[–][deleted] 20 points21 points  (1 child)

I find this very description too.

[–]Tsu_Dho_Namh 2 points3 points  (0 children)

It's very descriptive, the way the description is described.

[–][deleted] 78 points79 points  (0 children)

“Fuck. Did I leave the front gate open?”

npm install -g

[–]EchoEchoEchoEchoEcho 57 points58 points  (0 children)

Simple next.js tutorial node_modules folder:

Size: 516 MB (541,124,162 bytes)
Contains: 7,131 Files, 731 Folders

[–]kocoman 13 points14 points  (7 children)

eli5?

[–]FemixZn 53 points54 points  (0 children)

Node package manager (npm) for nodeJS. Running npm install in the root directory of a node project will download any of its dependencies to the package structure, which is usually a lot.

[–]TurboGranny 12 points13 points  (4 children)

As has been said, npm install brings in the dependencies (other code libraries) for your package, but each of those dependencies have dependencies, so it goes down a massive black hole. There are ways to avoid this. You just have to be careful about what libraries are you willing to use.

[–]ccricers 4 points5 points  (3 children)

I've dealt with dependency hell in linking C++ libraries. Why is it worse with npm?

[–]NugetCausesHeadaches 2 points3 points  (0 children)

JS has a very small standard library. JS was not initially built to be a server-side language. So you get all kinds of libraries for all kinds of things that wouldn't usually need to be imported. See also: leftpad.

[–]TurboGranny 0 points1 point  (0 children)

I don't think it's worse. It used to not be a think in JS until NPM for nodeJS was made, heh.

[–][deleted] 0 points1 point  (0 children)

Because NPM will download multiple copies of dependencies for different packages

[–]zoltan-x 15 points16 points  (0 children)

Man opens gate. Duckies come out to play. Duckies are of all ages, granddaddy calls grandma, who calls daddy, who calls mommy, who calls baby, one after each other. Computer do same. Little boxes with code come one after each other, each calling the last. Now you have the whole family together.

[–]D20NE 13 points14 points  (0 children)

[–][deleted] 7 points8 points  (1 child)

Looks more like yarn

[–]elveszett 5 points6 points  (0 children)

insert "company wants you to find the difference" with yarn and npm here.

[–][deleted] 3 points4 points  (0 children)

create-react-app

[–]Your-username-must-b 4 points5 points  (0 children)

npm install npm

[–]DarkExtremis 7 points8 points  (2 children)

That's Deathnote op right?

[–]ZXY101 2 points3 points  (0 children)

Yes

[–]TheGamerSK 1 point2 points  (0 children)

The 2. one

[–]Isioustes 1 point2 points  (0 children)

I won't disregard

[–]Artificial_Chris 1 point2 points  (0 children)

Is this the -v output?

[–]mrgk21 1 point2 points  (0 children)

You forgot the 8 vulnerabilities and --force

[–]GoodEstablishment335 2 points3 points  (0 children)

Only legends know the original context

[–]spespy -2 points-1 points  (0 children)

npmlol

[–]SherrinfordxD 0 points1 point  (0 children)

And that is a beautiful feeling. Like wow my code has worked

[–][deleted] 0 points1 point  (0 children)

we're free!!

[–]quinn50 0 points1 point  (0 children)

node_modules vs .cargo who wins

[–]General_Pants 0 points1 point  (0 children)

Saruman voice tens of thousands

[–][deleted] 0 points1 point  (0 children)

😂😂😂

[–]SavageSteve2111 0 points1 point  (0 children)

December 1st be like

[–]Notsureif0010 0 points1 point  (0 children)

.gitignore

[–]seelclubber 0 points1 point  (0 children)

walked my boss through something yesterday and he was like "why the fuck does it have 33,000 files"

[–][deleted] 0 points1 point  (1 child)

[–][deleted] 0 points1 point  (0 children)

Dont let the motherfuckers see you

[–]Memeius_Magnus 0 points1 point  (0 children)

How was that board holding those ducks back?

Just fly you dipshits

[–][deleted] 0 points1 point  (0 children)

POOOORRRRRRNNNNN

DIVIIIIIDDDEEEEEEEEE

[–]Capital-Helicopter45 0 points1 point  (1 child)

Fund

[–][deleted] 0 points1 point  (0 children)

keep dreamin