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

就安装成功了

相关推荐
U盘失踪了12 小时前
Appium Inspector
appium
Code Man2 天前
Windows 下使用 Appium
android·windows·appium
祉猷并茂,雯华若锦6 天前
Appium 3.x安卓按键与通知栏操作全指南
android·appium
祉猷并茂,雯华若锦8 天前
Appium 3.x实战:获取元素属性全解析
python·appium·自动化
祉猷并茂,雯华若锦9 天前
Appium 3.x安卓APP企业级安装实战
android·appium
祉猷并茂,雯华若锦10 天前
Appium 3.x 实战:元素定位与常见错误解析
开发语言·python·appium
进击的雷神20 天前
埋点skill使用与自动化
appium·自动化·埋点·codex·app自动化
测试开发-学习笔记2 个月前
安装appium
appium
one day3212 个月前
手机安装Appium Settings后闪退-最简单解决方式
appium