Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot be used with Electron on Windows #839

Open
adeelarshad83 opened this issue Feb 11, 2022 · 0 comments
Open

Cannot be used with Electron on Windows #839

adeelarshad83 opened this issue Feb 11, 2022 · 0 comments
Labels

Comments

@adeelarshad83
Copy link

As the module working fine in nodejs app, I added the module in my actual requirement as I have to use in a desktop app made in electron js

I am facing following issue
App threw an error during load
Error: The module '\?\D:\Projects\Embeddedesk\ad-base-station\app\node_modules\rclnodejs\build\Release\rclnodejs.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 93. This version of Node.js requires
NODE_MODULE_VERSION 101. 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)
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1199:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:5:1800)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at bindings (D:\Projects\Embeddedesk\ad-base-station\app\node_modules\bindings\bindings.js:112:48)
at Object. (D:\Projects\Embeddedesk\ad-base-station\app\node_modules\rclnodejs\lib\clock.js:17:38)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Module.require (node:internal/modules/cjs/loader:1012:19)

  • Library Version: 0.21.0
  • ROS Version: 2 (Foxy)
  • Platform / OS: Windows 10
  • Node Version: 16.14.0
  • Electron Version: 17.0.0

Expected Behavior
Application should run seamlessly

Actual Behavior
Facing above issue on running of app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant