How to handle with appium-doctor
But what is appium-doctor? 🤔
Appium-doctor is a Node lib that checks the checklist required for your environment to function, displaying a diagnostic that shows exactly what is missing and what is as expected.
In your terminal, start using the following command to install appium-doctor:
npm install -g appium-doctor
Recognizing the diagnosis
Simply enter the following command in the Mac or Linux terminal to obtain the diagnosis:
appium-doctor
The appium-doctor diagnosis is divided into two categories:
Necessary Dependencies
These are the dependencies that the appium DEPENDS on that are as expected to start running in your development environment.
Optional Dependencies
These are the dependencies that appium does NOT depend on to start running in your development environment.
And we also have the Optional Manual Fixes topic that aims to explain why the x or y configuration is important and how you can install it.
The script below can help you to install each of these dependencies if necessary, both for your Linux terminal and your Mac.
https://gist.github.com/vanessafsoares/451ccecd26eec383114f42e5da5310db