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

就安装成功了

相关推荐
MJH82711 天前
JMeter全流程性能测试实战!
自动化测试·功能测试·jmeter·单元测试·appium·性能测试·测试工程师
Lossya11 天前
【自动化测试】Appium Server如何安装和Appium Server安装困难的原因和解决方法以及常见的一些安装失败的错误和解决方法
自动化测试·测试工具·npm·node.js·appium·自动化
Lossya12 天前
【自动化测试】Appium 生态工具以及Appium Desktop如何安装和使用
自动化测试·测试工具·ui·appium·自动化
一禅(OneZen)12 天前
【L1.第六章】Appium 如何定位与页面等待实战
python·selenium·uni-app·appium·自动化·web
小码哥说测试12 天前
Postman如何测试WebSocket接口!
自动化测试·软件测试·websocket·selenium·测试工具·appium·postman
kingapex115 天前
Appium高级话题:混合应用与原生应用测试策略
自动化测试·appium
Lossya16 天前
【自动化测试】UI自动化的分类、如何选择合适的自动化测试工具以及其中appium的设计理念、引擎和引擎如何工作
自动化测试·测试工具·ui·appium·自动化
嗯诺17 天前
黑马头条APP手工测试项目
appium
测试界吖吖18 天前
软件测试 | APP测试 —— Appium 的环境搭建及工具安装教程
自动化测试·软件测试·功能测试·程序人生·职场和发展·appium
Coco(学习)1 个月前
Wimdows使用Appium IOS自动化
运维·appium·自动化