Mac 中安装 appium遇到错误selendroid setup files did not yet exist waiting

今天在mac中安装appium的时候,第一次没有按照文档安装导致报错:selendroid setup files did not yet exist waiting

折腾了半天之后发现是我安装node的时候用的root用户安装的,而安装appium的时候用sudo,这样在执行node ./bin/install.js的时候会出现权限的问题。其实在安装文档中有所提到(Make sure you have not installed Node or Appium with sudo, otherwise you'll run into problems))。

现在的解决方案是把以前的node卸载掉,使用brew(brew install node)普通安装。此次安装node之后再次安装appium安装成功。

npm install -g appium

猜你喜欢

转载自blog.csdn.net/scdnshijiemengxiang/article/details/101207767