statusboard icon indicating copy to clipboard operation
statusboard copied to clipboard

Epic: Resolve `npm --global` issues

Open lukekarrys opened this issue 4 years ago • 3 comments

Epic

Some commands have issues when run with the global --flag. I thought it would be helpful to gather all of these issues that I could find since from an initial look it seems like there will be some discussion and fixes that apply across multiple issues.

  • https://github.com/npm/cli/issues/3175
  • https://github.com/npm/cli/issues/3877
  • https://github.com/npm/cli/issues/3825
  • https://github.com/npm/cli/issues/3740
  • https://github.com/npm/cli/issues/3580
  • https://github.com/npm/cli/issues/2835
  • https://github.com/npm/cli/issues/3612
  • https://github.com/npm/cli/issues/3692
  • https://github.com/npm/cli/issues/3375
  • https://github.com/npm/cli/issues/2849
  • https://github.com/npm/cli/issues/3764
  • https://github.com/npm/cli/issues/2968
  • https://github.com/npm/cli/issues/3830
  • https://github.com/npm/cli/issues/3112
  • https://github.com/npm/cli/issues/2838

lukekarrys avatar Oct 22 '21 04:10 lukekarrys

In particular, commands like update, that ostensibly work with package.json and/or a lockfile, seem like they're a category error for --global.

ljharb avatar Oct 22 '21 05:10 ljharb

I suspect https://github.com/npm/cli/issues/3910 belongs on this list as well...

dominykas avatar Nov 09 '21 16:11 dominykas

#3764 was a misunderstanding of how the cache worked.

wraithgar avatar Jan 25 '22 15:01 wraithgar