How to update driver when appium installed trough npm?

When I install appium package trough npm I get version 1.22.0 which is correct. But this package also have dependencies that getting regular updates. Those dependencies are not getting updated.

For example, I need to update appium-espresso-driver to 1.50.1, but everytime I install appium, dependency is only 1.45.3.

This s expected. All Appium releases are shrinkwrapped. You could install [email protected] to always get most recent versions of all modules; or Appium 2 ([email protected]), where drivers are separated and should be installed separately from the main umbrella module (it is possible to select whatever version needs to be installed via appium server CLI).

1 Like