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

就安装成功了

相关推荐
测试人社区—66799 天前
2025区块链分层防御指南:AI驱动的安全测试实战策略
开发语言·驱动开发·python·appium·pytest
测试19989 天前
如何使用Appium实现移动端UI自动化测试?
自动化测试·软件测试·python·测试工具·ui·appium·测试用例
HEADKON13 天前
米托坦Mitotane长期治疗中的疗效监测与基于毒性的个体化剂量调整
appium
shughui19 天前
Android SDK 下载、安装与配置(详细图文附安装包,适配Appium+Python自动化)
android·python·appium·android-studio·android sdk
未定义.22120 天前
第7篇:跨端拓展!Playwright+Appium实现Web+移动端全覆盖
python·ui·appium·自动化·jenkins·pytest
BullSmall1 个月前
自动化测试开发规范
selenium·测试工具·appium·自动化
BatyTao1 个月前
Appium-Inspector下载安装全攻略
appium
阿蔹1 个月前
UI测试自动化-Web-Python-Appium
前端·python·ui·appium·自动化
BatyTao1 个月前
无线真机自动化测试全攻略-appium+phthon
appium
010不二1 个月前
基于Appium爬虫文本导出可话个人动态(环境准备篇)
爬虫·python·appium