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执行命令试试

就安装成功了

相关推荐
小陈的进阶之路7 小时前
Selenium 滑动 vs Appium 滑动
python·selenium·测试工具·appium
小陈的进阶之路14 小时前
Appium 自动化测试笔记
笔记·appium
linglan4282 天前
APPium环境配置
appium·自动化
lifewange8 天前
Appium是什么
appium·压力测试
柚子+16 天前
Appium+python+雷电模拟器自动化测试入门
数据库·python·appium
@Aurora.1 个月前
【GUI自动化测试】--基于QQ音乐项目的GUI自动化测试
appium
楚轩努力变强2 个月前
iOS 自动化环境配置指南 (Appium + WebDriverAgent)
javascript·学习·macos·ios·appium·自动化
ELI_He9992 个月前
appium-doctor optional dependencies
appium
测试人社区—66793 个月前
2025区块链分层防御指南:AI驱动的安全测试实战策略
开发语言·驱动开发·python·appium·pytest