You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The module '/TiddlyGit-Desktop/.webpack/main/native_modules/build/Release/opencv4nodejs.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 93. This version of Node.js requires
NODE_MODULE_VERSION 98. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1800)
opencv4nodejs-prebuilt might install a version that is work for the nodejs, not for the electron...
So how to fix this?
After several struggle:
It changed to
The module '/TiddlyGit-Desktop/.webpack/main/native_modules/build/Release/opencv4nodejs.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 89. This version of Node.js requires
NODE_MODULE_VERSION 98. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1800)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As we can know from the ABI list,
opencv4nodejs-prebuilt might install a version that is work for the nodejs, not for the electron...
So how to fix this?
After several struggle:
It changed to
Note the change from 93 -> 89
Beta Was this translation helpful? Give feedback.
All reactions