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
Error: The module '/Users/haley/Documents/w/demo/electron-quick-start/node_modules/robotjs/build/Release/robotjs.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 70. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at process.func [as dlopen] (electron/js2c/asar.js:155:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:850:18)
at Object.func [as .node] (electron/js2c/asar.js:155:31)
at Module.load (internal/modules/cjs/loader.js:677:32)
at tryModuleLoad (internal/modules/cjs/loader.js:609:12)
at Function.Module._load (internal/modules/cjs/loader.js:601:3)
at Module.require (internal/modules/cjs/loader.js:715:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object. (/Users/haley/Documents/w/demo/electron-quick-start/node_modules/robotjs/index.js:1:15)
at Module._compile (internal/modules/cjs/loader.js:808:30)
Your Environment
RobotJS version: "^0.5.1"
Node.js version: v10.15.3
npm version:6.4.1
Operating System:macOS 10.13.6 (17G65)
The text was updated successfully, but these errors were encountered:
Can't install robotjs
Expected Behavior
Install robotjs
Current Behavior
Getting install errors after running npm install
Possible Solution
Not sure.
Steps to Reproduce (for bugs)
1.npm i robotjs
Context
Uncaught Exception:Error: The module '/Users/haley/Documents/w/demo/electron-quick-start/node_modules/robotjs/build/Release/robotjs.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 70. Please try re-compiling or re-installing
the module (for instance, using
npm rebuild
ornpm install
).at process.func [as dlopen] (electron/js2c/asar.js:155:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:850:18)
at Object.func [as .node] (electron/js2c/asar.js:155:31)
at Module.load (internal/modules/cjs/loader.js:677:32)
at tryModuleLoad (internal/modules/cjs/loader.js:609:12)
at Function.Module._load (internal/modules/cjs/loader.js:601:3)
at Module.require (internal/modules/cjs/loader.js:715:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object. (/Users/haley/Documents/w/demo/electron-quick-start/node_modules/robotjs/index.js:1:15)
at Module._compile (internal/modules/cjs/loader.js:808:30)
Your Environment
The text was updated successfully, but these errors were encountered: