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

就安装成功了

相关推荐
楚轩努力变强23 天前
iOS 自动化环境配置指南 (Appium + WebDriverAgent)
javascript·学习·macos·ios·appium·自动化
ELI_He99925 天前
appium-doctor optional dependencies
appium
测试人社区—66791 个月前
2025区块链分层防御指南:AI驱动的安全测试实战策略
开发语言·驱动开发·python·appium·pytest
测试19981 个月前
如何使用Appium实现移动端UI自动化测试?
自动化测试·软件测试·python·测试工具·ui·appium·测试用例
HEADKON1 个月前
米托坦Mitotane长期治疗中的疗效监测与基于毒性的个体化剂量调整
appium
shughui1 个月前
Android SDK 下载、安装与配置(详细图文附安装包,适配Appium+Python自动化)
android·python·appium·android-studio·android sdk
未定义.2211 个月前
第7篇:跨端拓展!Playwright+Appium实现Web+移动端全覆盖
python·ui·appium·自动化·jenkins·pytest
BullSmall2 个月前
自动化测试开发规范
selenium·测试工具·appium·自动化
BatyTao2 个月前
Appium-Inspector下载安装全攻略
appium
阿蔹2 个月前
UI测试自动化-Web-Python-Appium
前端·python·ui·appium·自动化