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

就安装成功了

相关推荐
TRACER~857 天前
移动端自动化Appium框架
运维·appium·自动化
nee~15 天前
appium
appium
amazinging24 天前
北京-4年功能测试2年空窗-报培训班学测开-第四十四天
python·学习·appium
AIZHINAN1 个月前
Appium 简介
自动化测试·测试工具·appium
amazinging1 个月前
北京-4年功能测试2年空窗-报培训班学测开-第四十一天
python·学习·appium
amazinging1 个月前
北京-4年功能测试2年空窗-报培训班学测开-第三十九天
python·学习·appium
神即道 道法自然 如来1 个月前
如何填写“appium inspector”内容?
appium
程序员的世界你不懂1 个月前
Appium+python自动化(三十)yaml配置数据隔离
运维·appium·自动化
weixin-a153003083161 个月前
【appium】5. Appium WebDriver 支持的常用方法汇总
appium
weixin-a153003083161 个月前
【appium】6.appium遇到的问题
appium