I have issue when installing appium-windows-driver
Below are some outcome for basic commands:
appium driver install --source=npm appium-windows-driver
× Checking if 'appium-windows-driver' is compatible
Error: npm command 'info appium-windows-driver peerDependencies dependencies --json' failed with code EINVAL.
STDOUT:
STDERR:
and here is what I get on running the info
command manually
npm info appium-windows-driver peerDependencies dependencies --json
npm verb cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
npm info using [email protected]
npm info using [email protected]
npm verb title npm prefix
npm verb argv "prefix" "--global"
npm verb logfile logs-max:10 dir:C:\Users\Srijan\AppData\Local\npm-cache\_logs\2024-04-12T00_56_52_598Z-
npm verb logfile C:\Users\xyz\AppData\Local\npm-cache\_logs\2024-04-12T00_56_52_598Z-debug-0.log
npm verb exit 0
npm info ok
npm verb cli C:\Program Files\nodejs\node.exe C:\Users\xyz\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
npm info using [email protected]
npm info using [email protected]
npm verb title npm info appium-windows-driver peerDependencies dependencies
npm verb argv "info" "appium-windows-driver" "peerDependencies" "dependencies" "--json"
npm verb logfile logs-max:10 dir:C:\Users\xyz\AppData\Local\npm-cache\_logs\2024-04-12T00_56_52_949Z-
npm verb logfile C:\Users\xyz\AppData\Local\npm-cache\_logs\2024-04-12T00_56_52_949Z-debug-0.log
npm http fetch GET 200 https://registry.npmjs.org/appium-windows-driver 125ms (cache revalidated)
{
"peerDependencies": {
"appium": "^2.4.0"
},
"dependencies": {
"asyncbox": "^3.0.0",
"bluebird": "^3.5.1",
"fancy-log": "^2.0.0",
"lodash": "^4.6.1",
"portscanner": "^2.2.0",
"source-map-support": "^0.x",
"teen_process": "^2.0.1"
}
}
I am running Appium version 2.5.2