zeromq.js icon indicating copy to clipboard operation
zeromq.js copied to clipboard

Error message when using zeromq.js in Electron on Win7 system

Open yxl-Devin opened this issue 1 year ago • 4 comments

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)

yxl-Devin avatar Sep 13 '24 08:09 yxl-Devin

zeromq:6.0.0-beta.20 nodejs:v20.16.0 electron:21.4.4

yxl-Devin avatar Sep 13 '24 08:09 yxl-Devin

You should copy over the prebuilds into your electron app. Also, not that the beta versions are no longer supported

aminya avatar Sep 13 '24 18:09 aminya

I would like to ask if zeromq6.0.0 and above versions support the Win7 system

yxl-Devin avatar Sep 18 '24 07:09 yxl-Devin

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.

aminya avatar Sep 20 '24 20:09 aminya

https://github.com/zeromq/zeromq.js/releases/tag/v6.0.6

aminya avatar Oct 02 '24 21:10 aminya

As mentioned in the readme now, Zeromq binaries on Windows 10 or older need Visual C++ Redistributable to be installed.

aminya avatar Oct 03 '24 02:10 aminya