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

就安装成功了

相关推荐
weixin-a153003083162 天前
7.Appium-ios端自动化
ios·appium·自动化
2601_962295994 天前
Python+Appium 自动化测试:从基础语法到 PO 模式设计,构建稳定测试框架
自动化测试·python·appium·测试框架·po模式
测试19985 天前
如何用appium搭建Android自动化测试框架?
自动化测试·软件测试·python·测试工具·职场和发展·appium·测试用例
St_rive10 天前
Appium元素定位与常用方法
appium
爱知菜12 天前
Appium3.7 连 安卓平台架构图 和 注意事项
appium
Tester Kid1 个月前
Appium 元素定位深度讲解:五种方式逐个拆 + Inspector 完整用法
macos·appium·cocoa
U盘失踪了1 个月前
Appium Inspector
appium
Code Man1 个月前
Windows 下使用 Appium
android·windows·appium
祉猷并茂,雯华若锦2 个月前
Appium 3.x安卓按键与通知栏操作全指南
android·appium