octalmage / robotjs

Node.js Desktop Automation.
http://robotjs.io
MIT License
12.38k stars 961 forks source link

Doesn't work with nodejs 15.14.0 Please fix! #662

Closed quinton-ashley closed 3 years ago

quinton-ashley commented 3 years ago

npm ERR! code 1 npm ERR! path /home/qashto/dev/apps/nostlan/node_modules/robotjs npm ERR! command failed npm ERR! command sh -c prebuild-install || node-gyp rebuild npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@15.14.0 | linux | x64 npm ERR! gyp info find Python using Python version 3.9.3 found at "/usr/bin/python3" npm ERR! gyp http GET https://nodejs.org/download/release/v15.14.0/node-v15.14.0-headers.tar.gz npm ERR! gyp http 200 https://nodejs.org/download/release/v15.14.0/node-v15.14.0-headers.tar.gz npm ERR! gyp http GET https://nodejs.org/download/release/v15.14.0/SHASUMS256.txt npm ERR! gyp http 200 https://nodejs.org/download/release/v15.14.0/SHASUMS256.txt npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/qashto/dev/apps/nostlan/node_modules/robotjs/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/qashto/.cache/node-gyp/15.14.0/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/home/qashto/.cache/node-gyp/15.14.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/qashto/.cache/node-gyp/15.14.0/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/qashto/dev/apps/nostlan/node_modules/robotjs', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: not found: make npm ERR! gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:10:17) npm ERR! gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/which/which.js:57:18 npm ERR! gyp ERR! stack at new Promise () npm ERR! gyp ERR! stack at step (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:54:21) npm ERR! gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/which/which.js:71:22 npm ERR! gyp ERR! stack at new Promise () npm ERR! gyp ERR! stack at subStep (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:69:33) npm ERR! gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/which/which.js:80:22 npm ERR! gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/isexe/index.js:42:5 npm ERR! gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/isexe/mode.js:8:5 npm ERR! gyp ERR! System Linux 5.10.30-1-MANJARO npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /home/qashto/dev/apps/nostlan/node_modules/robotjs npm ERR! gyp ERR! node -v v15.14.0 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: npm ERR! /home/qashto/.npm/_logs/2021-04-22T08_12_40_281Z-debug.log

wanu7021 commented 3 years ago

does this project still have support? @quinton-ashley

sachinraja commented 3 years ago

Works for me on 16.0.0. Do you have the prerequisites?