当前位置: 代码迷 >> 综合 >> Mac 中安装 appium遇到错误selendroid setup files did not yet exist waiting
  详细解决方案

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

热度:8   发布时间:2024-01-09 16:09:33.0

今天在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

 

 

  相关解决方案