this post was submitted on 03 Sep 2024
845 points (99.4% liked)

Programmer Humor

32536 readers
482 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] TheSlad@sh.itjust.works 48 points 2 months ago (8 children)

Just run your prod env in debug mode! Problem solved.

[–] MultipleAnimals@sopuli.xyz 25 points 2 months ago* (last edited 2 months ago) (2 children)

You can imagine how many node projects there are running in production with npm run. I have encountered js/ts/node devs that don't even know that you should like, build your project, with npm build and then ship and serve the bundle.

[–] AlecSadler@sh.itjust.works 14 points 2 months ago

I just died a little inside. Thank you.

[–] Swedneck@discuss.tchncs.de 11 points 2 months ago

i have absolutely seen multiple projects on github that specifically tell you to do "npm run" as part of deploying it.

load more comments (5 replies)