If you decided to use another appium version.
You can use these commands:
npm uninstall -g appium npm install -g appium@1.8.1
npm uninstall -g appium
npm install -g appium@1.8.1