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

就安装成功了

相关推荐
工头阿乐18 天前
Appium自动化开发环境搭建
运维·appium·自动化
ronindong21 天前
Android自动化功能-使用Appium获取android页面节点元素信息
android·appium·自动化
一只小H呀の23 天前
移动自动化测试-appium
appium
w135110691501 个月前
一、Appium环境安装
appium
测试19981 个月前
Appium如何实现移动端UI自动化测试?
自动化测试·软件测试·python·测试工具·职场和发展·appium·测试用例
一直开心1 个月前
Appium的学习总结-Inspector参数设置和界面使用(5)
appium·inspector
程序员的世界你不懂1 个月前
从定义、原理、环境搭建、安装问题排查等深入了解Appium
经验分享·百度·appium
niuniu_6661 个月前
安全性测试(Security Testing)
测试工具·单元测试·appium·测试·安全性测试
niuniu_6661 个月前
appium应用测试场景
功能测试·selenium·测试工具·appium·测试
suimeng61 个月前
Appium中元素定位的注意点
appium