opencv4nodejs icon indicating copy to clipboard operation
opencv4nodejs copied to clipboard

Cannot find module 'C:\Users\pierr\Desktop\onnxjs\node_modules\opencv4nodejs\build\Release\opencv4nodejs'

Open pierrejmn opened this issue 3 years ago • 2 comments
trafficstars

Hi,

I seemed to have successfully installed opencv4nodejs after having set environment variables. Yet when I run a script that includes the command const cv = require('opencv4nodejs'); I get the following error :

image

When I check the node_modules/opencv4nodejs folder, I can see that the build folder is missing : image

Do anyone has a solution for this ? Thank you for your time !

OpenCV version : 5.6.0 OS: Windows 10

pierrejmn avatar Oct 20 '22 13:10 pierrejmn

This repository is not maintained anymore, please use @u4/opencv4nodejs for a more active fork

piercus avatar Nov 08 '22 11:11 piercus

use cnpm while solve this issuse!

npm install -g cnpm --registry = https://registry.npmmirror.com
cnpm install --registry=https://registry.npmmirror.com

jyshaobing avatar Jun 28 '23 07:06 jyshaobing