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

Not compatible with Node.js 10.15.3? #485

Open
HaleyWang opened this issue May 18, 2019 · 5 comments
Open

Not compatible with Node.js 10.15.3? #485

HaleyWang opened this issue May 18, 2019 · 5 comments
Milestone

Comments

@HaleyWang
Copy link

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 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)
@shravan999
Copy link

Hi @HaleyWang same issue here, any update on this?

  • RobotJS version: "^0.5.1"

  • Node.js version: v10.15.3

  • npm version: 6.4.1

  • OS: Windows 7

@VyhrystMax
Copy link

Снимок экрана 2019-09-17 в 13 50 12

Same issue. Is there any solution for this?

@AlexanderDownie
Copy link

I doubt it will ever get accepted but use this: #489

@oktapodia
Copy link
Collaborator

A new version of robotjs supporting the latest NodeJS version will be published soon.

@oktapodia oktapodia added this to the v0.6.0 milestone Nov 24, 2019
@liketurbo
Copy link

  1. Please use nvm and switch to the version node@8
  2. Complete installation of all prerequisites from node-gyp

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

No branches or pull requests

6 participants