opencv4nodejs: Error: ENOENT: no such file or directory, scandir 'C:\Program Files\Microsoft Visual Studio'
I used this documentation
{ "scripts": { "install_arm64": "build-opencv --version 4.5.4 --flag=\"-DCMAKE_SYSTEM_PROCESSOR=arm64 -DCMAKE_OSX_ARCHITECTURES=arm64\" build", "install_4.5.5_cuda": "build-opencv --version 4.5.5 --flags=\"-DWITH_CUDA=ON -DWITH_CUDNN=ON -DOPENCV_DNN_CUDA=ON -DCUDA_FAST_MATH=ON\" build", "do-install": "build-opencv build", } }
npm run install_4.5.5_cuda
but when i run, i get this error

can anyone help my problem?
thanks guys…
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (8 by maintainers)
v0.5.9 works fine in my environment 👍 Thank you for your prompt and courteous response.
fixed in v0.5.8
For now, i still use the latest version, but i just changed this code in opencv-build with use the previous version
and my application work fine