nad sh
nad sh

Reputation: 33

opencv4nodejs installation issue

I am Facing trouble in installing opencv4nodejs in windows, i am getting following error.

[email protected] install C:\Users\Mypc\AppData\Roaming\npm\node_modules\opencv4nodejs\node_modules\opencv-build node ./install.js info install if you want to use an own OpenCV installation set OPENCV4NODEJS_DISABLE_AUTOBUILD info install library dir does not exist: C:\Users\Mypc\AppData\Roaming\npm\node_modules\opencv4nodejs\node_modules\opencv-build\opencv\build\lib\Release info install running install script... ERR! Error: Command failed: git --version 'git' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install: node ./install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:

Upvotes: 0

Views: 1895

Answers (2)

Shashwat Hiregoudar
Shashwat Hiregoudar

Reputation: 11

Git needs to be installed, it will solve this problem

Upvotes: 0

nad sh
nad sh

Reputation: 33

Git was not installed in windows, that was the issue. it's working perfectly now.

Upvotes: 1

Related Questions