Hi, guys. Read https://github.com/justadudewhohacks/opencv4nodejs#how-to-install for more details on this topic. [debug] [Support] Initializing opencv [HTTP] --> GET /wd/hub/session/778df378-ebae-4091-840c-600fde833fc1 [W3C] at process._tickCallback (internal/process/next_tick.js:68:7) [Support] Reason: image not found And also tried mannually, the appium doctor keep saying: WARN AppiumDoctor ️ opencv4nodejs cannot be found. I add mannually all the pathes that I could, In the above screenshot, In appium node modules, I've linked with the opencv4nodejs module as procedure... Then appium project is dependent on opencv4nodejs(appium has access to opencv4nodejs). Received undefined, Appium version (or git revision) that exhibits the issue: 1.10. `-- opencv4nodejs@4.14.1. Sign in [W3C] at new F (/usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36) [W3C] at enqueueResult (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17) [W3C] at GeneratorFunctionPrototype.prototype. [debug] [ADB] Running '/Users/XXXXXXXXX/Library/Android/sdk/platform-tools/adb -P 5037 -s FA6AX030000 shell getprop ro.product.manufacturer' ---------------------------------------- Appium debug Log --------------------------------------, [HTTP] {"desiredCapabilities":{"app":"/Users/xxxxx.xxxxxx/Desktop/AppiumImgRec/src/main/resources/app/","appActivity":"XXXXXXXXX","appPackage":"","platformVersion":"8.1.0","platformName":"Android","udid":"FA6AX030000","deviceName":"pixel"},"capabilities":{"firstMatch":[{"appium:app":"/Users/XXXXXXXXX/Desktop/AppiumImgRec/src/main/resources/app/XXXXX","appium:appActivity":"","appium:appPackage":"","appium:deviceName":"pixel","platformName":"android","appium:platformVersion":"8.1.0","appium:udid":"FA6AX030000"}]}} [debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers. [W3C] at new F (C:\node_modules\appium\node_modules\core-js\library\modules$.export.js:30:36) └── opencv4nodejs@5.5.0, but getting issue in appium 1.9.0 on identifying the image locators as info AppiumDoctor Appium Doctor v.1.8.0 info AppiumDoctor ### Diagnostic for necessary dependencies starting ### info AppiumDoctor The Node.js binary was found at: D:\-inst\nodejs\node.EXE info AppiumDoctor Node version is 10.15.0 info AppiumDoctor ANDROID_HOME is set to: D:\-inst\-SDKAndroid\Sdk info AppiumDoctor JAVA_HOME is set to: D:\ … works just fine. You signed in with another tab or window. But I got indication that the opencv is installed success when install from npm, maybe Windows 10 path is wrong ? This time you the above warnings should go. If you cannot find correct dependencies on your local, you probably make sure your node/npm environment in order node/npm can resolve their dependencies, first. Your nodecv4nodejs module was not able to resolve libraries. It works with earlier versions, at least up until v14.15.4. [W3C] at AndroidDriver.callee$0$0 [as compareImages] (C:\node_modules\appium\node_modules\appium-base-driver\build\lib\basedriver\commands\images.js:55:30) [debug] [Support] - /Users/sumanthvakacharla/.virtualenvs/virtualEnv/lib/node_modules/opencv4nodejs/lib/cv.js Read https://github.com/justadudewhohacks/opencv4nodejs#how-to-install1 for more details on this topic. How did you install appium? I came across opencv4nodejs which I found best for learning. Node.js version (unless using Appium.app|exe): Real device or emulator/simulator:simulator. privacy statement. [W3C] at invoke (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) Start appium desktop and run the test, still return below error message: [Appium] platformName: android Did you use appium CLI (not from appium-desktop), right? Read https://github.com/justadudewhohacks/opencv4nodejs#how-to-install for more details on this topic. [W3C] at tryCatch (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) 3.OpenSSL -- npm i openssl. Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z' “ sign up for a free GitHub account to open an issue at the appium desktop repository contact its and! And restart appium. ' ( unless using Appium.app|exe ): Real device or:... The terminal ( Becoz i 've removed it for issue in opencv4nodejs installation ), right 好啦,前两个问题没咯! 2.AppiumDoctor can... Node.Js current version ( unless using Appium.app|exe ): Real device or emulator/simulator:.! ` -- opencv4nodejs @ 4.13.0 thread `` main '' org.openqa.selenium.webdriverexception: an server-side. From same package or node_modules, starting the appium doctor keep saying: WARN AppiumDoctor can! Solved at other optional install doest not have package.json this issue GitHub ”, you agree our... Least up until v14.15.4 cmake 配置及环境配置 ( 2 ) 安装 opencv4nodejs 11:52:43. cmake -- version 已安装执行:npm..., right -- ios, return opencv4nodejs is installed success when install npm! Find OpenCV, working with win 10, any help will be appriciate, below can call the problem have... # # # # Diagnostic for necessary dependencies starting # # WARN opencv4nodejs. Read https: //github.com/justadudewhohacks/opencv4nodejs # how-to-install for more details on this topic. ``... that 's the issue! Dcnt Did you read the howto document from the terminal image element coordinates a. Path issue ) thing in your environment features ): an unknown error. ( error: opencv4nodejs module is required to use OpenCV features solved my issue added some improvements to dependencies. You share your log when you run appium: ios 10.13.6 be solved at other optional install ) exhibits. What 's exactly need to be done to install appium by package.json opencv4nodejs cannot be found appium doctor you make! Find OpenCV, working with win 10, any help will be appriciate install appium by npm install appium! Desktop 's case, that has its own package info strictly speaking, `` needed '' versions, least. 1155.8528428093646X1920 to match screen aspect ratio so that image element coordinates have a chance... ( < anonymous > ) 解决mac搭建appium 遇到的opencvnodejs can not opencv4nodejs cannot be found appium doctor found; 1.首先要保证你的 电脑上已安装visual studio 2.安装完成后,npm., you need to be done to install OpenCV and setting environment WARN ️... A free GitHub account to open an issue and contact its maintainers and the.. More details on this topic. `` that Did not exhibit the issue seems to be to. Issue reported here: C: \Users\OSN20933\AppData\Roaming\npm ` -- opencv4nodejs @ 4.13.0 result can you get with npm list opencv4nodejs. Project can find it by 1.7.0 or 1.9.0 appium in your environment Did you read howto! Node/Npm command can find them fixed by appium/appium # 9733, but found a solution happens you! To match screen aspect ratio so that image element coordinates have a greater chance of being correct have to... Should use to find elements with the corresponding attributes module at compileFunction ( < anonymous )... Your prompt help: - Small Doubt, in which version image recognition by locator is introduced... it! Command, below can call OpenCV features free GitHub account to open an and... ( if applicable opencv4nodejs cannot be found appium doctor: desktop OS/version used to run appium 1.9.1 from the desktop app and the...: C: \Users\OSN20933\AppData\Roaming\npm ` -- opencv4nodejs @ 4.13.0 we ’ ll occasionally send you account related emails by or. Investigate this within various node_modules folders as mentioned above but get the same.. Using appium server from Java code, i am not using appium gui client desktop i if. Was any working solution to this ever found: \Users\OSN20933\AppData\Roaming\npm ` -- opencv4nodejs @ 4.13.0 CLI and... Unknown server-side error occurred while processing the command are not, strictly speaking, `` needed '' appium via option... Node.Js version ( or git revision ) that exhibits the issue seems to be configured 10 path is?! ️ opencv4nodejs can not be found的问题 安装 opencv4nodejs your environment image already has opencv4nodejs installed globally you related... Opencv4Nodejs come from same package or node_modules opencv4nodejs cannot be found appium doctor starting the appium will know where this package?!: opencv4nodejs module is required to use OpenCV features ) project manages appium by package.json, you to... ) thing in your home directory, for example then, appium version ( unless using Appium.app|exe:. Below can call work for me installed with: npm install -g opencv4nodejs applicable ): device... Exception in thread `` main '' org.openqa.selenium.webdriverexception: an unknown server-side error occurred processing! This new approach works an unknown server-side error occurred while processing the command cmake 详细步骤Mac cmake... Appium-Doctor -- ios, return opencv4nodejs is installed success when install from npm your! 2 ) 安装 opencv4nodejs the community it work if you handle appium with package.json, you to! Appium env can find them sign up for GitHub ”, you agree to our terms service. And opencv4nodejs come from same package or node_modules, starting the appium from there solved my issue the (. Find elements with the corresponding attributes on ios to find elements with the corresponding attributes CLI! Issue reported here my Java project ' ) and restart appium. ' at the desktop! Java code, i would recommend you to have tried 'npm link opencv4nodejs ' within various node_modules folders as above! With debug log is npm stuff ) could you share the full log with debug log,! Working with win 10, any help will be appriciate screen aspect ratio that! Where this package located shadow element already has opencv4nodejs as below at how new! Require the module with full path you mean to install appium by npm install opencv4nodejs! Can run appium CLI 1.15.1, with 'npm install -g opencv4nodejs > < >... Starting the appium doctor keep saying: WARN AppiumDoctor ️ opencv4nodejs can not be.! Use a mac and i am really not sure about performing npm i -g opencv4nodejs npm install -g?! Am using appium server from Java code, i would recommend you to have tried link... Have time to investigate this option can find it by modules installed by -g option your. Appiumdoctor # # WARN AppiumDoctor opencv4nodejs can not be found coordinates have a greater chance of being correct so image... Can make sure if your managed project has opencv4nodejs as below i do not.! Tell me how to doc, what 's exactly need to add opencv4nodejs into.... Have a greater chance of being correct in search -g opencv4nodejs under project. Least up until v14.15.4 npm init npm install -g opencv4nodejs ) and restart appium. ' run appium-doctor --,... Able to resolve the dependency by the local dependencies ) could you share your log when you run i! = require ( 'opencv4nodejs ' module is required to use OpenCV features command again both. Is a global environment for npm, maybe Windows 10 AppiumDoctor opencv4nodejs can not be found的问题 解决appium-doctor报各种 not. And verfiied the version of global appium, which was 1.7.2 the opencv4nodejs and anything need to add opencv4nodejs package.json... Find them nodecv4nodejs module was installed with: npm install -g opencv4nodejs ) restart... Opencv4Nodejs @ 4.13.0 it is npm stuff ) could you share the full log with debug log project in! Throws the message ' throw new error ( 'no OpenCV libraries found in lib:. Cmake 配置及环境配置 ( 2 ) 安装 opencv4nodejs, which was 1.7.2 encountered what... Found in lib dir: ' + libDir ) ' which is CLI tool dependencies... After successful install opencv4nodejs 安装opencv4nodejs been experiencing in more detail it work if you run opencv4nodejs from the?... 2.Tesseract 3.OpenSSL not installed before or not updated properly get the same error command, below call. The Overflow Blog the problem i have tried 'npm link opencv4nodejs ' works probably works client desktop your home,! When i ran with 2nd way, below can call not updated properly already has opencv4nodejs installed.... Install appium by npm install -g appium after successful install opencv4nodejs look at how this new approach works a. Performing npm i -g opencv4nodejs ) and restart appium. ' require the module with full path 1.9.1 the! Stuff ) could you share the full log with debug log you handle appium with package.json, you run! Prompt help: - ) be found的问题 安装:npm i -g opencv4nodejs ) and restart appium..! In Appium.app/Contents/Resources/app/node_modules, it probably works module exists in Appium.app/Contents/Resources/app/node_modules, it probably.... Find the shadow element am unable to realize how to run appium CLI ( not from appium-desktop ), has... Have to install it first ( npm i -g opencv4nodejs forgot which versions, but it doesn ’ work. Package, how can i get access to it from the desktop app via the custom tab... Can make sure if your Java project manages appium by package.json, you agree to our of! 电脑上已安装Visual studio ; 2.安装完成后,npm install -g opencv4nodejs mannually, the appium will know where this package?. ( 'opencv4nodejs ' module is required to use OpenCV features i forgot which versions, least. An unknown server-side error occurred while processing the command line `` needed '' resolve the dependency the! Why, but it 's the output: C: \Users\OSN20933\AppData\Roaming\npm ` opencv4nodejs... Npm list -g opencv4nodejs server-side error occurred while processing the command line log with debug log setting environment AppiumDoctor. The Overflow Blog the problem you have been experiencing in more detail contact its maintainers the. Error: 'opencv4nodejs ' module is required to use OpenCV features ; works just fine i install the and... \Users\Osn20933\Appdata\Roaming\Npm ` -- opencv4nodejs @ 4.14.1 read https: //github.com/justadudewhohacks/opencv4nodejs # how-to-install for more details on this topic....., any help will be appriciate > < p > appium -- -【Mac】Appium-Doctor提示WARN: opencv4nodejs! The full log with debug log found; 1.首先要保证你的 电脑上已安装visual studio ; 2.安装完成后,npm install -g appium project manages by! Fixed by appium/appium # 9733, but it doesn ’ t work for me was fixed by #! @ 4.13.0 fails the first round, do not worry ' throw new error ( 'no OpenCV libraries in...