statusboard
statusboard copied to clipboard
Epic: Resolve `npm --global` issues
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
In particular, commands like update, that ostensibly work with package.json and/or a lockfile, seem like they're a category error for --global.
I suspect https://github.com/npm/cli/issues/3910 belongs on this list as well...
#3764 was a misunderstanding of how the cache worked.