Hi there, have a good day!
yes, I am noob but I dont understand inspiteofthat
appium/migrating-1-to-2.md at master · appium/appium (github.com)
There is written:
Simply installing Appium 2.0 (e.g., by npm install -g appium
), will install the Appium server only, but no drivers. To install drivers, you must instead use the new [Appium extension
So I did on Win10pro:
npm uninstall --global appium
npm install --global appium --drivers=xcuitest,uiautomator2
But still not version2
C:\Users\cause>appium --v
1.22.3
Am I doing wrong?
use npm install -g appium@next
command
1 Like
many thanx
many thanx
many thanx
S.R
October 24, 2022, 8:49pm
4
@mykola-mokhnach , hello! What’s the correct way to uninstall appium 2.0?
npm uninstall -g appium@next
doesn’t remove it
noob
April 12, 2023, 10:23am
5
mykola-mokhnach:
@next
i had same problem, but even with the flag @next
the reason was, i had outdated npm
and node
.
after that it worked.
noob
April 12, 2023, 10:26am
6
this worked for me:
sudo npm uninstall appium
of if on Mac, maybe try one of these:
personally just running: npm uninstall appium worked for me fine with the latest versions as well.
also after you uninstall. try to run which appium and make sure it is not available. as well, you can try to delete appium’s home folder before you reinstall; its path is: ~/.appium