iamlivinsunny
iamlivinsunny
C:\Users\TestingAccount>npm i -g opencv4nodejs > [email protected] install C:\Users\TestingAccount\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 readAutoBuildFile file does not exists:...
Installed the Windows build tools and VS2017 AND 2015 VERSION
I was able to fix that by installing Microsoft Dot net run time 3.5.
After that below error occurs. `nfo install '-DBUILD_opencv_reg=OFF', info install '-DBUILD_opencv_rgbd=OFF', info install '-DBUILD_opencv_saliency=OFF', info install '-DBUILD_opencv_shape=OFF', info install '-DBUILD_opencv_stereo=OFF', info install '-DBUILD_opencv_stitching=OFF', info install '-DBUILD_opencv_structured_light=OFF', info install '-DBUILD_opencv_superres=OFF', info...
[2021-12-07T07_20_08_562Z-debug.log](https://github.com/justadudewhohacks/opencv4nodejs/files/7666336/2021-12-07T07_20_08_562Z-debug.log)
OS : Windows 10 Error getting while installing opencv4nodejs Installed vs 2022,2019,2017 versions. Still having this error.
Thank you for the response. I have changed the node-gyp refernce and ran the installation command again. But still getting the same error. C:\Users\TestingAccount\AppData\Roaming\npm\node_modules\opencv4nodejs>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js"...
The version of node-gyp is now v8.4.1. But the VS is not getting detected. I have vs 2017 installed under : C:\Program Files (x86)\Microsoft Visual Studio\2017 C:\Program Files\Microsoft Visual Studio\2017...
![image](https://user-images.githubusercontent.com/71168111/144738425-ab9c22b5-355b-4997-9131-de13c574870b.png) > The often-repeated line `msvs_version does not match this version` seems to be the problem but I am not a Windows user.
The version gets picked from the .npmrc file. Not sure it cant detect the Visual Studio.