justadudewhohacks / justadudewhohacks/opencv4nodejs

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

Open
#858 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/115219368/196965976-aca92252-5270-4c63-84e1-bd17aa9a513c.png)

When I check the node_modules/opencv4nodejs folder, I can see that the build folder is missing :
![image](https://user-images.githubusercontent.com/115219368/196966381-956ccb1c-568f-467f-afea-4d894e0a077d.png)

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

*OpenCV version* : 5.6.0
*OS*: Windows 10

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.