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

就安装成功了

相关推荐
BullSmall9 天前
自动化测试开发规范
selenium·测试工具·appium·自动化
BatyTao10 天前
Appium-Inspector下载安装全攻略
appium
阿蔹10 天前
UI测试自动化-Web-Python-Appium
前端·python·ui·appium·自动化
BatyTao16 天前
无线真机自动化测试全攻略-appium+phthon
appium
010不二20 天前
基于Appium爬虫文本导出可话个人动态(环境准备篇)
爬虫·python·appium
010不二20 天前
基于Appium爬虫文本导出可话个人动态
数据库·爬虫·python·appium
may_一一23 天前
appium安装(windows)
windows·appium
傻啦嘿哟1 个月前
Appium实现Android应用数据爬取:从环境搭建到实战优化
android·appium
中冕—霍格沃兹软件开发测试1 个月前
边界值分析:功能测试中的精度利器
人工智能·功能测试·科技·测试工具·appium·bug
BatyTao1 个月前
vivo真机adb 命令获取手机当前窗口信息
adb·appium