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

就安装成功了

相关推荐
后端常规开发人员14 天前
iOS手机App爬虫- (1) Mac安装Appium真机运行环境
爬虫·ios·appium
程序员小远15 天前
搭建Appium工具环境
自动化测试·软件测试·python·测试工具·职场和发展·appium·测试用例
程序员 小濠17 天前
接口测试基础 --- 什么是接口测试及其测试流程?
自动化测试·python·测试工具·职场和发展·appium·接口测试·压力测试
人民的石头23 天前
Python+appium实现自动化测试
开发语言·python·appium
爱学测试的李木子25 天前
【编写UI自动化测试集】Appium+Python+Unittest+HTMLRunner
python·ui·appium
需钢25 天前
App UI自动化--Appium学习--第二篇
ui·appium·自动化
max5006001 个月前
Appium介绍
appium
回家吃月饼1 个月前
appium自动化环境搭建
appium
happybasic2 个月前
一个基于Python+Appium的手机自动化项目~~
运维·appium·自动化