appium mac环境搭建
原本是自己在node官网下的dmg,安装后,
npm install -g appium,报权限错误。
sudo npm install -g appium,
然后npm install wd
虽然可以安装成功。但是appium&的时候会有权限问题。
折腾良久。最终还是按照appium官网的方法
先装了brew,然后用brew安装node,在安装appium。
终于成功
brew install node
npm install -g appium
npm install wd
zhangminjiedeMacBook-Pro:~ zhangminjie$ appium-doctor
Running iOS Checks
✔ Xcode is installed at /Library/Developer/CommandLineTools
✔ Xcode Command Line Tools are installed.
✔ DevToolsSecurity is enabled.
✔ The Authorization DB is set up properly.
✔ Node binary found at /usr/local/bin/node
✔ iOS Checks were successful.
Running Android Checks
✖ ANDROID_HOME is not set
因为没有 ANDROID环境,报错无视