I love npm, but there's some bug that keeps looming. I have a git based dependency (basically a dependency that's attached to https://user:password@gitlab.com/xxxxxx#branch)
I don't know why, but any time I install something specific in this project:
npm i -D @types/tacos
(for example)
The last line of npm says this: added 9 packages and removed 15 packages in 9.69s
Those 15 removed packages? Not dependency conflicts, no, thats the git dependency and all of its sub-dependencies.
So my workflow is now:
npm i --save <whatever>
npm i