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 小时前
07 APP 自动化- appium+pytest+allure框架封装
python·appium·自动化·pytest
taoli-qiao8 小时前
Appium如何支持ios真机测试
appium
程序员的世界你不懂12 小时前
Appium+python自动化(九)- 定位元素工具
python·appium·自动化
水银嘻嘻1 天前
04 APP 自动化- Appium toast 元素定位&列表滑动
python·appium·自动化
水银嘻嘻3 天前
03 APP 自动化-定位元素工具&元素定位
python·appium·自动化
水银嘻嘻4 天前
02 APP 自动化-Appium 运行原理详解
python·appium·自动化
程序员的世界你不懂7 天前
Appium+python自动化(七)- 认识Appium- 上
python·appium·自动化
头疼的程序员7 天前
移动端 UI自动化测试学习之Appium框架(包含adb调试工具介绍)
测试工具·appium
程序员的世界你不懂8 天前
Appium+python自动化(三)- SDK Manager
运维·appium·自动化
测试199811 天前
如何进行Appium实现移动端UI自动化测试?
自动化测试·软件测试·python·测试工具·ui·appium·测试用例