You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.
In this example, npx is using the locally-installed version of bower (node_modules/.bin/bower). update-notifier is correctly noticing that we're not using the latest version, but it suggests that npm i -g bower will fix that, which it will not, since it'll still use the locally-installed version, which is old.
For now, npx could probably fix this problem by setting isGlobal to the appropriate value in update-notifier?
How can npx itself do anything about this, itself? The update-notifier calls that require isGlobal are for those libraries themselves, not for npx. I can set it in npx itself, but that wouldn't necessarily fix this since npx is very much meant to be a unique global install.
We could pass the option isGlobal set to whether the package we're notifying about is global (if npx knows that at the time which I haven't determined)
See sindresorhus/update-notifier#112
In this example, npx is using the locally-installed version of bower (node_modules/.bin/bower). update-notifier is correctly noticing that we're not using the latest version, but it suggests that npm i -g bower will fix that, which it will not, since it'll still use the locally-installed version, which is old.
For now, npx could probably fix this problem by setting isGlobal to the appropriate value in update-notifier?
https://github.com/yeoman/update-notifier#isglobal
The text was updated successfully, but these errors were encountered: