Open Slyke opened 5 years ago
Can't install robotjs
Install robotjs
Getting install errors after running npm install
npm install
Not sure.
Run npm install robotjs
npm install robotjs
Unusable in current state.
Log file:
1685 verbose stack Error: robotjs@0.5.1 install: `prebuild-install || node-gyp rebuild` 1685 verbose stack Exit status 1 1685 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16) 1685 verbose stack at EventEmitter.emit (events.js:182:13) 1685 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 1685 verbose stack at ChildProcess.emit (events.js:182:13) 1685 verbose stack at maybeClose (internal/child_process.js:962:16) 1685 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) 1686 verbose pkgid robotjs@0.5.1 1687 verbose cwd C:\Users\Slyke\Desktop\vitalcopy 1688 verbose Windows_NT 10.0.17763 1689 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "robotjs" 1690 verbose node v10.14.2 1691 verbose npm v6.4.1 1692 error code ELIFECYCLE 1693 error errno 1 1694 error robotjs@0.5.1 install: `prebuild-install || node-gyp rebuild` 1694 error Exit status 1 1695 error Failed at the robotjs@0.5.1 install script. 1695 error This is probably not a problem with npm. There is likely additional logging output above. 1696 verbose exit [ 1, true ]
Also tried with node version 8.16.0 and same result.
Try to use node v59 versions (9.0.0-9.11.2).
A new version of robotjs supporting the latest NodeJS version will be published soon.
nvm
node@8
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)
Run
npm install robotjs
Context
Unusable in current state.
Your Environment
Log file: