Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pierrejmn opened this issue Oct 20, 2022 · 2 comments

Comments

@pierrejmn
Copy link

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

@piercus
Copy link
Collaborator

piercus commented Nov 8, 2022

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

@jyshaobing
Copy link

use cnpm while solve this issuse!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants