这是新安装。安装node.js
Java 后,我运行appium-doctor
并收到这些警告。
WARN AppiumDoctor ✖ opencv4nodejs cannot be found.
WARN AppiumDoctor ✖ fbsimctl cannot be found
WARN AppiumDoctor ✖ applesimutils cannot be found
如何除去它们?
安装opencv4nodejs
(npm i -g opencv4nodejs
)时抛出:错误……
呃!错误:命令失败:cmake --version /bin/sh:cmake:未找到命令
npm ERR!代码 ELIFECYCLE npm ERR!errno 1
npm 错误![电子邮件保护]安装:节点./install.js
npm ERR!退出状态 1 npm ERR!npm ERR!失败于[电子邮件保护]安装脚本。
答案1
为了:
警告 AppiumDoctor ✖ 无法找到 fbsimctl
# Get the Facebook Tap.
brew tap facebook/fb
# Install fbsimctl from master
brew install fbsimctl --HEAD
WARN AppiumDoctor ✖ applesimutils cannot be found
brew tap wix/brew
brew install wix/brew/applesimutils