appium driver install uiautomator2 安装失败

报错

× Installing 'uiautomator2' using NPM install spec 'appium-uiautomator2-driver'

Error: × Encountered an error when installing package: npm command 'install --save-dev --no-progress --no-audit --omit=peer --save-exact --global-style --no-package-lock appium-uiautomator2-driver --json' failed with code 1.

其实关键看到了Error: EPERM: operation not permitted,这里, 意思是'操作不允许' , 应该是权限问题

用管理员打开cmd执行命令试试

就安装成功了

相关推荐
阿祖_in_coding5 天前
混合App(Hybrid App)自动化测试理解
appium
returnthem13 天前
安装Appium
appium
seabirdssss18 天前
Appium 在小米平板上的安装受限与闪退排查
android·appium·电脑
小陈的进阶之路21 天前
Selenium 滑动 vs Appium 滑动
python·selenium·测试工具·appium
小陈的进阶之路22 天前
Appium 自动化测试笔记
笔记·appium
linglan42824 天前
APPium环境配置
appium·自动化
lifewange1 个月前
Appium是什么
appium·压力测试
柚子+1 个月前
Appium+python+雷电模拟器自动化测试入门
数据库·python·appium
@Aurora.2 个月前
【GUI自动化测试】--基于QQ音乐项目的GUI自动化测试
appium