2 ms·
I personally don't ever install globally either. But I do have './node_modules/.bin' in my PATH because well... I'm lazy. If two packages try to install the sa
by latchkey 7y ago
I personally don't ever install globally either. But I do have './node_modules/.bin' in my PATH because well... I'm lazy.
If two packages try to install the same filename in that directory, I would want a full stop failure so that I can work it out myself. I'm honestly a bit surprised this isn't already the case.
- ergothus 7y agoI did that in the past, but now I can run "npx WHATEVER" The only problem is that npx ALSO defaults to installing things, which is ridiculous.