justadudewhohacks / justadudewhohacks/opencv4nodejs

Error 126

Open
#745 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

# Error Message
App threw an error during load
Error: error: 126

# Error Details
I managed to install opencv4nodejs on my electron project and the electron-rebuild worked just fine. But now when I try to run my application I got the following error:

`Error: error: 126`

And the stack trace:

```
Error: error: 126\\?\C:\Users\User\Documents\project\electron\node_modules\opencv4nodejs\build\Release\opencv4nodejs.node
at process.func [as dlopen] (electron/js2c/asar.js:140:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1016:18)
at Object.func [as .node] (electron/js2c/asar.js:140:31)
at Module.load (internal/modules/cjs/loader.js:816:32)
at Module._load (internal/modules/cjs/loader.js:728:14)
at Function.Module._load (electron/js2c/asar.js:748:26)
at Module.require (internal/modules/cjs/loader.js:853:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (C:\Users\User\Documents\project\electron\node_modules\opencv4nodejs\lib\cv.js:58:8)
at Module._compile (internal/modules/cjs/loader.js:968:30)
```

I couldn't find anything related to this issue, so that's why I'm opening this one, and also I took a look at the source code of this project and couldn't find anything that helps me.. Anyone has any ideas why is this happening?

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.