160
u/ecares Apr 17 '24
2012 wants its joke back
-111
Apr 17 '24 edited Apr 17 '24
[removed] — view removed comment
25
5
u/smooth_tendencies Apr 18 '24
We must weigh this comment down further with down votes. It's still not as heavy as node_modules but we will try our best.
2
-1
Apr 18 '24
Guys are going crazy on downvotes for a silly joke, JS is just a langage like another one. It have flaws. Some people really feel any js critic painfully.
-10
-113
Apr 17 '24 edited Apr 17 '24
[removed] — view removed comment
36
12
u/nathanfries Apr 17 '24
Redditors just trying to help out lighten your load of vote count, gotta save room for those modules
6
50
u/Worldly-Researcher01 Apr 17 '24
I’ve switched to PNPM and have never looked back
3
u/kuda09 Apr 17 '24
Unfortunately had to switch to npm kept running npm install instead of pnpm
2
u/shinobiwarrior Apr 18 '24
Maybe you can set an alias so that you type npm but the system executes pnpm (don't know how to do it tho)
1
1
u/BigCaregiver7285 Apr 18 '24
Hoisting on a monorepo ended up causing some issues for me - and all the no hoist settings I tried couldn’t seem to unfuck it
1
-27
u/Gauravsinghtangariya Apr 17 '24
If you switch to bun ... You never look back pnpm
5
u/bwainfweeze Apr 17 '24
That's not how rewrites work.
If you guys get what you want, Bun will live long enough to become the villain.
Everyone will slowly want everything that Node has and more.
4
u/lqdd Apr 17 '24
why, bun's package manager might be fast, but it doesn't use content addressable storage, right?
42
u/grantrules Apr 17 '24
Ancient humorless memes go here: /r/programmerhumor
0
Apr 18 '24
That sub is mostly people who aren’t even programmers (yet). Students, bootcampers, and some juniors.
1
21
u/real_kerim Apr 17 '24
Better than a 22GB IDE and runtime to program a command line window saying "Hello world!"
*looks at .NET shit*
3
u/bwainfweeze Apr 17 '24
I spent political capital to fix our project when our express project was ramping up to 2GB of disk space per install.
I eventually managed to get it to stay under 900 MB mostly on its own, but the first 500 MB was pretty easy and the next 500 was a fight the entire way.
1
u/maacpiash Apr 18 '24
Well, you don’t have to use an IDE to write .NET code. You can use VS Code or Vim/Neovim.
7
Apr 17 '24
[removed] — view removed comment
3
u/yessjambread Apr 18 '24
Running two rider projects crashes my m2 MacBook pro lol. Definitely better than vs in terms of usability but not really perfect.
5
7
3
3
u/bwainfweeze Apr 17 '24
I think this is fixed now, but I had coworkers I had to route through a proxy because earlier versions of NPM wouldn't check response length for validity. So if your connection timed out, it would cache the truncated file and if you started again it would keep getting the same error checking the SHA-* hash of the file, and they'd have to force clear their cache and start over.
Something about routing through nginx fixed that (though I primarily set it up to compress the data used to fetch @latest)
Annoyingly npm would put a passive-aggressive "I hope you know what you're doing." in stdout any time you use the --force flag on an npm command.
Many a time I muttered, "I'm not the one here who doesn't know what they're doing."
9
u/HoneyBadgeSwag Apr 17 '24
1
u/De_Wouter Apr 18 '24
I bet there is an NPM module to help you find which subreddit to post your post in
7
u/MisterFor Apr 17 '24
Last week I found an old php project. The whole project, including images, was 6MB.
Nowadays that’s almost impossible
12
u/barrel_of_noodles Apr 17 '24
Modern PHP has composer, and really isn't any different. You also get the fun of managing language extensions.
2
2
2
u/Roflolmaoguy Apr 18 '24
Do: rm system32
This will free up some space. Contact me for further advice 👍
1
1
1
u/-0-__-0-__-0- Apr 18 '24
Foreshadowing... corepack enable pnpm Guy was right. pnpm solved the problem you're complaining about.
1
u/andersmmg Apr 18 '24
Try using bun install, it can download and install packages in a normal way to just use with npm even if you don't want to use the bun runtime, and it's much faster!
1
u/thedeuceisloose Apr 18 '24
This hasn’t been true for years. If you’re still finding it to be true: UPGRADE YOUR NPM VERSION
1
u/Windows__2000 Apr 18 '24
Rust devs waiting to recompile all dependencies after changing one letter
1
1
1
0
Apr 17 '24
[deleted]
8
u/jast26 Apr 17 '24
PG dependencies are other PG packages… the module is just architected well and split in submodules…
2
41
Apr 17 '24
[removed] — view removed comment
28
Apr 17 '24 edited Apr 20 '24
insurance obtainable depend voiceless badge wine pen cable flowery live
This post was mass deleted and anonymized with Redact
0
u/kwin95 Apr 18 '24
But this is not because of JavaScript…it’s like saying a movie is bad because you downloaded it from the wrong torrent
2
Apr 18 '24 edited Apr 20 '24
squeal jar shelter ancient retire friendly roof door melodic oatmeal
This post was mass deleted and anonymized with Redact
95
u/yojimbo_beta Apr 17 '24
HAHAHAHA NODE MODULES AM I RIGHT!!!