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

就安装成功了

相关推荐
cllsse3 小时前
appium学习
appium
卓码软件测评19 天前
第三方软件测试机构:Appium如何使用Selenium的客户端库?
功能测试·selenium·测试工具·性能优化·appium
难以怀瑾23 天前
Appium笔记
笔记·appium
aiden:)1 个月前
App UI 自动化环境搭建指南
运维·python·ui·appium·自动化
Steven_yang_12 个月前
关于ANDROUD APPIUM安装细则
appium
币圈小菜鸟2 个月前
Windows 环境下搭建移动端自动化测试环境(JDK + SDK + Node.js + Appium)
java·windows·python·测试工具·node.js·appium
nece0012 个月前
使用appium对安卓(使用夜神模拟器)运行自动化测试
自动化测试·appium·安卓自动化测试
Warren982 个月前
Appium学习笔记
android·windows·spring boot·笔记·后端·学习·appium
Java方文山2 个月前
Appium+Python 实现移动应用自动化测试:从基础到实战
appium
有风南来2 个月前
appium2.0+之PointerActions详解
自动化测试·appium·高级手势·pointeractions·移动设备自动化·单点触控