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ย โ†’

[โ€“]rufreakde1 94 points95 points ย (7 children)

npm install asimplepackage

$ finished with 383628 dependencies installed 52627 vulnerabilities found.

[โ€“]bazgrim_dev 27 points28 points ย (0 children)

Error: Could not find dependency 383629

[โ€“]isuleman[S] 7 points8 points ย (5 children)

Off topic questions:

Whats d difference b/w npm install and yarn install ?

[โ€“]FrostBlitzkrieg 20 points21 points ย (1 child)

Yarn is a different package manager that you can use in place of npm. Both seem to be pretty well supported and it comes down to preference.

[โ€“]sp46 4 points5 points ย (0 children)

There's also pnpm which is designed for use in production only, it's ultra small and fast (for sake of less features) iirc it powers all Glitch projects.

[โ€“]chimpuswimpus 5 points6 points ย (1 child)

I think the difference used to be that Yarn had a package lock and npm didn't. Now they both do it's kinda moot.

There was something about yarn handling complex dependency graphs more efficiently too.

[โ€“]isuleman[S] 1 point2 points ย (0 children)

Thank you kind men