mac 安装 appium 时遇到的问题记录

记录在安装时遇到的问题及解决方法,没有深入研究报错原因,也并不是安装教程。

1. 使用命令 npm install -g appium 时报错
解决方法:使用命令 cnpm install -g appium
相同的,也使用 cnpm install appium-doctor -g 命令安装 appium-doctor

2. 使用命令 appium-doctor 检查环境时报错:Carthage was NOT found
解决方法:使用命令 brew install carthage 安装 carthage

3. 在 https://github.com/appium/appium-desktop/releases/ 中下载了 dmg 文件后,点击安装并打开Appium 时报 “无法打开“Appium”,因为Apple无法检查其是否包含恶意软件”
解决方法:使用命令 sudo xattr -rd com.apple.quarantine /Applications/Appium.app/

你可能感兴趣的:(mac 安装 appium 时遇到的问题记录)