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

就安装成功了

相关推荐
max5006002 天前
Appium介绍
appium
回家吃月饼6 天前
appium自动化环境搭建
appium
happybasic9 天前
一个基于Python+Appium的手机自动化项目~~
运维·appium·自动化
十二测试录9 天前
【自动化测试】—— Appium使用保姆教程
android·经验分享·测试工具·程序人生·adb·appium·自动化
xwj_86557433211 天前
Appium(四)
appium
_可乐无糖11 天前
Appium 检查安装的驱动
android·ui·ios·appium·自动化
_可乐无糖18 天前
跨平台实践:python中如何检查当前操作系统
android·python·ui·ios·appium·自动化
_可乐无糖18 天前
深度解析 pytest 参数化与 --count 执行顺序的奥秘
android·python·ui·ios·appium·自动化·pytest
十二测试录19 天前
【自动化测试】—— Appium安装配置保姆教程(图文详解)
经验分享·python·pycharm·jdk·node.js·appium·自动化
十二测试录21 天前
2024最新版Node.js下载安装保姆级教程【图文详解】
javascript·经验分享·程序人生·npm·node.js·appium