Error message when using zeromq.js in Electron on Win7 system
message:index-4ba7dd8b.js:13 Error: The specified module could not be found. \?\D:\Program Files\platform_client\resources\app\node_modules\zeromq\prebuilds\win32-x64\node.napi.glibc.node at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1810) at Module._extensions..node (node:internal/modules/cjs/loader:1205:18) at Object.func [as .node] (node:electron/js2c/asar_bundle:5:1810) at Module.load (node:internal/modules/cjs/loader:988:32) at Module._load (node:internal/modules/cjs/loader:829:12) at c._load (node:electron/js2c/asar_bundle:5:13343) at i._load (node:electron/js2c/renderer_init:33:356) at Module.require (node:internal/modules/cjs/loader:1012:19) at require (node:internal/modules/cjs/helpers:102:18) at load (D:\Program Files\platform_client\resources\app\node_modules@aminya\node-gyp-build\node-gyp-build.js:22:10)
zeromq:6.0.0-beta.20 nodejs:v20.16.0 electron:21.4.4
You should copy over the prebuilds into your electron app. Also, not that the beta versions are no longer supported
I would like to ask if zeromq6.0.0 and above versions support the Win7 system
I haven't tested on Windows 7 as I don't have access to one. People have reported that installing Visual C++ redistributable helps in some machines.
https://github.com/zeromq/zeromq.js/releases/tag/v6.0.6
As mentioned in the readme now, Zeromq binaries on Windows 10 or older need Visual C++ Redistributable to be installed.