This repository has been archived by the owner on Jul 6, 2019. It is now read-only.
use npm update instead of npm install on ~/.npm/_npx
-globals
#11
Labels
~/.npm/_npx
-globals
#11
Right now, if you don't have a certain package in
$PATH
, we always do anpm install --global
into$(npm config get cache)/_npx
. This means that we'll run through an actual install cycle every time, instead of just making sure we're at the latest version.So, we should use
npm update
instead, which should short-circuit this.Unfortunately, npm is kinda wonky with
npm update
and globals right now, so we need to fix upnpm update
for this use case before we can take advantage of it.The text was updated successfully, but these errors were encountered: