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

就安装成功了

相关推荐
聊天QQ:688238862 天前
Comsol 探索增强型地热开采:一年温度变化的奇妙之旅
appium
卫生纸不够用8 天前
Appium-锁屏-Android
android·appium
程序员小远9 天前
Appium-移动端自动测试框架详解
自动化测试·软件测试·python·测试工具·职场和发展·appium·测试用例
伤心男孩拯救世界(Code King)11 天前
搭建Appium详细教程
appium
程序员小远12 天前
如何搭建Appium环境?
自动化测试·软件测试·python·测试工具·职场和发展·appium·测试用例
卫生纸不够用14 天前
Appium简单入门
appium
测试199819 天前
如何用Appium实现移动端UI自动化测试?
自动化测试·软件测试·python·测试工具·ui·职场和发展·appium
测试199822 天前
Appium使用指南与自动化测试案例详解
自动化测试·软件测试·python·测试工具·职场和发展·appium·测试用例
黑金IT1 个月前
Appium和Detox,哪一种更好的为手机自动化
智能手机·appium·自动化
程序员小远1 个月前
Appium+python+unittest搭建UI自动化框架
自动化测试·软件测试·python·测试工具·ui·appium·测试用例