问题
执行安装命令appium driver install uiautomator2@2.29.8后报错
报错信息
C:\Windows\System32>appium driver install uiautomator2@2.29.8
× Installing ‘uiautomator2@2.29.8’ using NPM install spec ‘appium-uiautomator2-driver@2.29.8’
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@2.29.8 --json’ failed with code null.
STDOUT:
STDERR:
C:\Windows\System32>node -v
v18.20.2
C:\Windows\System32>appium --version
2.1.3
C:\Windows\System32>npm -v
10.5.0