6
HogDev
6y

"npm i {name} - - save-dev"

-ERROR: "{name} needs {dependency} v5.0.1"

"Oh, okay, I install that one then, no problem"

"npm i {dependency@5.0.1} - - save-dev"

-ERROR: "{dependency@5.0.1} needs {dependency} v3.1.1}

"Oh, okay, makes sens I guess, I'll" install that one to then."

"npm i {dependency@3.1.1} - -save-dev"

ERROR:"Nah"

"Son of a.."

Comments
  • 1
    You really should use npm ci
  • 1
    @Codex404 I don't normaly use npm that much, but thanks for the tip man!
  • 3
    @HogDev almost no one knows they should use npm ci... And people add the package lock to the gitignore.... 🙄
  • 1
    "yum install dependency"

    "Here's your requested package, its dependencies, weak dependendencies, and any updates to other packages you need."

    (technically it's dnf now but goddammit it'll always be yum in my heart)
  • 1
    Yarn.

    Npm is a fermenting barrel of dicks.
  • 1
    @Root For this project I've already installed about a thousen diffrent packages and framework stuff, transpilers and god knows what. Just bc: "its hip and cool so we need it!". Sorry to sound so sour but it realy pisses me of.
  • 1
    @HogDev Trust me: I totally understand.

    My last boss was a magpie dev -- always looking at the shiny new things, regardless of how useful or fitting they were. He wanted to write an AI to handle support messages. Ergh.
  • 1
    @Root it feels dumb as hell and you know your practically wasting your time.
Add Comment