Please install it with 'npm i -g mjpeg-consumer'. WARN AppiumDoctor ➜ mjpeg-consumer module is required to use MJPEG-over-HTTP features. WARN AppiumDoctor ➜ ffmpeg is needed to record screen features.
WARN AppiumDoctor ➜ Why opencv4nodejs is needed and how to install it: Info AppiumDoctor The configuration can install optionally.
Info AppiumDoctor # Optional Manual Fixes # Info AppiumDoctor # Diagnostic for optional dependencies completed, 4 fixes possible. WARN AppiumDoctor ✖ bundletool.jar cannot be found WARN AppiumDoctor ✖ mjpeg-consumer cannot be found. WARN AppiumDoctor ✖ ffmpeg cannot be found WARN AppiumDoctor ✖ opencv4nodejs cannot be found. Info AppiumDoctor # Diagnostic for optional dependencies starting # Info AppiumDoctor # Diagnostic for necessary dependencies completed, no fix needed. Info AppiumDoctor ✔ Bin directory of %JAVA_HOME% is set Info AppiumDoctor ✔ emulator exists at: D:\packages\adt-bundle-windows-x86_64-20140702\sdk\tools\emulator.exe Info AppiumDoctor ✔ android exists at: D:\packages\adt-bundle-windows-x86_64-20140702\sdk\tools\android.bat Info AppiumDoctor ✔ adb exists at: D:\packages\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\adb.exe Info AppiumDoctor ✔ JAVA_HOME is set to: D:\program\Java\jdk1.8.0_171 Info AppiumDoctor ✔ ANDROID_HOME is set to: D:\packages\adt-bundle-windows-x86_64-20140702\sdk Info AppiumDoctor ✔ Node version is 10.15.3 Info AppiumDoctor ✔ The Node.js binary was found Info AppiumDoctor # Diagnostic for necessary dep Install AppIum-Doctor, it is used to detect the environment, use npm -registry install appium-doctor -gAfter installation, this test C:\Users\beck Appium REST http interface listener started on 0.0.0.0:4723 Then use npm -registry install appium -gInstall AppIum Server, Enter AppIum after installation is complete, you can output version information Description has been installed C:\Users\beck First ensure Node.js has been installed and configured with environment variables, the verification method is: C:\Users\beck