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

就安装成功了

相关推荐
神即道 道法自然 如来11 天前
如何填写“appium inspector”内容?
appium
程序员的世界你不懂11 天前
Appium+python自动化(三十)yaml配置数据隔离
运维·appium·自动化
weixin-a1530030831611 天前
【appium】5. Appium WebDriver 支持的常用方法汇总
appium
weixin-a1530030831611 天前
【appium】6.appium遇到的问题
appium
weixin-a1530030831612 天前
【appium】3.查看本地已安装的appium版本
appium
weixin-a1530030831612 天前
【appium】2.初始连接脚本配置
appium
树欲静而风不止慢一点吧12 天前
Appium入门
appium
程序员的世界你不懂12 天前
Appium+python自动化(二十八)高级滑动
python·appium·自动化
程序员的世界你不懂14 天前
MAC环境安装Appium+JAVA
macos·appium
无敌小手17 天前
Appium环境安装
appium