justadudewhohacks / justadudewhohacks/opencv4nodejs

Node module version difference after electron-rebuild.

Open
#719 1 comment 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 am having trouble with electron-rebuild. Installation worked and all seemed to be successfully installed, or maybe it is. But I am still getting different `NODE_MODULE_VERSION` for `opencv4electronjs` . The rebuild run successfully, I tried to rebuild the whole project and even only the `opencv4nodejs` package itself.
```
Error: The module '\\?\....\node_modules\opencv4nodejs\build\Release\opencv4nodejs.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 76. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
```

Any tips on what I might have missed?
Thanks.

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.