• jayands
    link
    fedilink
    English
    arrow-up
    6
    ·
    19 days ago

    Your node_modules directory can get so bloated that the community came up with different package managers just for deduplication! pnpm, for example, makes one global-adjacent cache, and then just symlinks the dependencies as needed. This is because the regular npm doesn’t, because what if the package changed between the 20ms since I downloaded it for nuxt? (Sorry Nuxt users, had to pick a name)

    • Shanmugha
      link
      fedilink
      English
      arrow-up
      2
      ·
      19 days ago

      Given an example from another reply… yeah. Things are fucked