Closed Hammad1954 closed 2 months ago
Hi
Firstly, can you try Clear the npm cache using the following command:
npm cache clean --force
Secondly, If your problem doent fixed, update them. To update npm, you can use: npm install -g npm
Thirdly, If you are not using a proxy, you can remove proxy settings with: npm config rm proxy npm config rm https-proxy
Hello @erdncyz Tried all thee command still facing same issue. please let me know what else we can do.
@Hammad1954 Try the below
npm uninstall -g appium && npm install -g appium@next rm -rf ~/.appium
Thank you @saikrishna321
It is working now.
After running appium plugin install --source=npm appium-device-farm command to configure appium device farm
getting below error:
Installing 'appium-device-farm' 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-device-farm --json' failed with code null.
Environment