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

I cannot install robotjs #754

Open
gokul-3 opened this issue Feb 13, 2024 · 10 comments
Open

I cannot install robotjs #754

gokul-3 opened this issue Feb 13, 2024 · 10 comments

Comments

@gokul-3
Copy link

gokul-3 commented Feb 13, 2024

When I try to install robotjs, it ends with error

npm ERR! code 1
npm ERR! path /home/gokulakannan/robot/node_modules/robotjs
npm ERR! command failed
npm ERR! command sh -c prebuild-install || node-gyp rebuild
npm ERR! make: Entering directory '/home/gokulakannan/robot/node_modules/robotjs/build'
npm ERR! CXX(target) Release/obj.target/robotjs/src/robotjs.o
npm ERR! make: Leaving directory '/home/gokulakannan/robot/node_modules/robotjs/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/home/gokulakannan/robot/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/gokulakannan/robot/node_modules/robotjs/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/gokulakannan/robot/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/gokulakannan/.cache/node-gyp/20.7.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/gokulakannan/.cache/node-gyp/20.7.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/gokulakannan/robot/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/home/gokulakannan/.cache/node-gyp/20.7.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/gokulakannan/robot/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 info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! cc1plus: warning: command-line option ‘-Wbad-function-cast’ is valid for C/ObjC but not for C++
npm ERR! In file included from ../src/keypress.h:6,
npm ERR! from ../src/robotjs.cc:7:
npm ERR! ../src/keycode.h:112:10: fatal error: X11/Xutil.h: No such file or directory
npm ERR! 112 | #include <X11/Xutil.h>
npm ERR! | ^~~~~~~~~~~~~
npm ERR! compilation terminated.
npm ERR! make: *** [robotjs.target.mk:135: Release/obj.target/robotjs/src/robotjs.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: make failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess. (/home/gokulakannan/robot/node_modules/node-gyp/lib/build.js:209:23)
npm ERR! gyp ERR! System Linux 6.1.0-1029-oem
npm ERR! gyp ERR! command "/usr/local/lib/node_modules/node/bin/node" "/home/gokulakannan/robot/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/gokulakannan/robot/node_modules/robotjs
npm ERR! gyp ERR! node -v v20.7.0
npm ERR! gyp ERR! node-gyp -v v10.0.1
npm ERR! gyp ERR! not ok

what #include <X11/Xutil.h> means? Is there any dependency for this package

@orange250
Copy link

window OS?need build 需要编译 node-gyp 工具

  1. 安装 python3.11
    2.安装visual studio 2022 支持桌面C++的选项√上
  2. cd到 robot目录 node-gyp rebuild .
    多看看 http://robotjs.io/docs/building

@estoylive
Copy link

wtf dude? speak English please

@s1hofmann
Copy link

@gokul-3 what #include <X11/Xutil.h> means? Is there any dependency for this package that's a C header for X11, which is required to build robotjs on your Linux machine. You'll have to install it using whichever package management your distribution uses.

As an alternative, nut.js is fully prebuilt for macOS, Windows and Linux and provides an actively maintained alternative to robotjs

@DanielMcAssey
Copy link

DanielMcAssey commented Mar 27, 2024

We also maintain a working fork of RobotJS, which is actively maintained as we use it in several of our projects. https://github.com/hurdlegroup/robotjs

It includes many of the fixes and uses NAPI, and includes prebuilt binaries for all available platforms

@orange250
Copy link

orange250 commented Mar 27, 2024 via email

@ftyszyx
Copy link

ftyszyx commented Sep 19, 2024

Robotjs (https://github.com/octalmage/robotjs)is build use V8 API.So it must be rebuilt for different Node versions.
This is a big trouble when installing on a platform that has no build environment..
So I rewrapped Robotjs with Node API and prebuilt it. Now you can install robotjs_addon with just one command
npm install robotjs_addon
And it is compatible with different Node versions. It's open source. You can check it out if you are interested.https://github.com/ftyszyx/robotjs
Warm: some api is removed,because there is no need for me, you can help to improve.

@orange250
Copy link

orange250 commented Sep 19, 2024 via email

@vladaman
Copy link

I got same problem on Ubuntu 24.04

Node v20.18.0
Npm 10.8.2

npm i robotjs --save
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: This package is no longer supported.
npm error code 1
npm error path /home/vlad/dev/nodejs-desktop-automation/node_modules/robotjs
npm error command failed
npm error command sh -c prebuild-install || node-gyp rebuild
npm error make: Entering directory '/home/vlad/dev/nodejs-desktop-automation/node_modules/robotjs/build'
npm error   CXX(target) Release/obj.target/robotjs/src/robotjs.o
npm error make: Leaving directory '/home/vlad/dev/nodejs-desktop-automation/node_modules/robotjs/build'
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | linux | x64
npm error gyp info find Python using Python version 3.12.3 found at "/usr/bin/python3"
npm error gyp info spawn /usr/bin/python3
npm error gyp info spawn args [
npm error gyp info spawn args '/home/vlad/.nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/home/vlad/dev/nodejs-desktop-automation/node_modules/robotjs/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/home/vlad/.nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/home/vlad/.cache/node-gyp/20.18.0/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=/home/vlad/.cache/node-gyp/20.18.0',
npm error gyp info spawn args '-Dnode_gyp_dir=/home/vlad/.nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/home/vlad/.cache/node-gyp/20.18.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/home/vlad/dev/nodejs-desktop-automation/node_modules/robotjs',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn make
npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm error cc1plus: warning: command-line option ‘-Wbad-function-cast’ is valid for C/ObjC but not for C++
npm error In file included from ../src/keypress.h:6,
npm error                  from ../src/robotjs.cc:7:
npm error ../src/keycode.h:112:10: fatal error: X11/Xutil.h: No such file or directory
npm error   112 | #include <X11/Xutil.h>
npm error       |          ^~~~~~~~~~~~~
npm error compilation terminated.
npm error make: *** [robotjs.target.mk:127: Release/obj.target/robotjs/src/robotjs.o] Error 1
npm error gyp ERR! build error 
npm error gyp ERR! stack Error: `make` failed with exit code: 2
npm error gyp ERR! stack at ChildProcess.<anonymous> (/home/vlad/.nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)
npm error gyp ERR! System Linux 6.8.0-45-generic
npm error gyp ERR! command "/home/vlad/.nvm/versions/node/v20.18.0/bin/node" "/home/vlad/.nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm error gyp ERR! cwd /home/vlad/dev/nodejs-desktop-automation/node_modules/robotjs
npm error gyp ERR! node -v v20.18.0
npm error gyp ERR! node-gyp -v v10.1.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: /home/vlad/.npm/_logs/2025-01-11T08_56_03_213Z-debug-0.log

@orange250
Copy link

orange250 commented Jan 11, 2025 via email

@Traineratwot
Copy link

I got same problem on Kubuntu 24.10

PYTHON=python2 npm install robotjs --verbose                          
npm verbose cli /home/kirill/.nvm/versions/node/v22.13.0/bin/node /home/kirill/.nvm/versions/node/v22.13.0/bin/npm
npm info using [email protected]
npm info using [email protected]
npm verbose title npm install robotjs
npm verbose argv "install" "robotjs" "--loglevel" "verbose"
npm verbose logfile logs-max:10 dir:/home/kirill/.npm/_logs/2025-01-11T10_23_02_435Z-
npm verbose logfile /home/kirill/.npm/_logs/2025-01-11T10_23_02_435Z-debug-0.log
npm http cache https://registry.npmjs.org/typescript 28ms (cache hit)
npm http cache https://registry.npmjs.org/@types%2fclipboardy 5ms (cache hit)
npm http cache https://registry.npmjs.org/@types%2fnode 14ms (cache hit)
npm http cache https://registry.npmjs.org/clipboardy 1ms (cache hit)
npm http cache https://registry.npmjs.org/robotjs 1ms (cache hit)
npm http cache https://registry.npmjs.org/@types%2fbun 1ms (cache hit)
npm http cache https://registry.npmjs.org/undici-types 6ms (cache hit)
npm http cache https://registry.npmjs.org/execa 8ms (cache hit)
npm http cache https://registry.npmjs.org/prebuild-install 8ms (cache hit)
npm http cache https://registry.npmjs.org/node-abi 10ms (cache hit)
npm http cache https://registry.npmjs.org/nan 12ms (cache hit)
npm http cache https://registry.npmjs.org/is64bit 13ms (cache hit)
npm http cache https://registry.npmjs.org/bun-types 17ms (cache hit)
npm http cache https://registry.npmjs.org/is-wsl 20ms (cache hit)
npm http cache https://registry.npmjs.org/@types%2fws 1ms (cache hit)
npm http cache https://registry.npmjs.org/@types%2fnode 13ms (cache hit)
npm http cache https://registry.npmjs.org/is-stream 6ms (cache hit)
npm http cache https://registry.npmjs.org/onetime 7ms (cache hit)
npm http cache https://registry.npmjs.org/npm-run-path 7ms (cache hit)
npm http cache https://registry.npmjs.org/get-stream 7ms (cache hit)
npm http cache https://registry.npmjs.org/merge-stream 8ms (cache hit)
npm http cache https://registry.npmjs.org/system-architecture 7ms (cache hit)
npm http cache https://registry.npmjs.org/cross-spawn 9ms (cache hit)
npm http cache https://registry.npmjs.org/signal-exit 9ms (cache hit)
npm http cache https://registry.npmjs.org/human-signals 10ms (cache hit)
npm http cache https://registry.npmjs.org/strip-final-newline 9ms (cache hit)
npm http cache https://registry.npmjs.org/is-inside-container 10ms (cache hit)
npm http cache https://registry.npmjs.org/which 3ms (cache hit)
npm http cache https://registry.npmjs.org/path-key 3ms (cache hit)
npm http cache https://registry.npmjs.org/path-key 4ms (cache hit)
npm http cache https://registry.npmjs.org/shebang-command 4ms (cache hit)
npm http cache https://registry.npmjs.org/mimic-fn 5ms (cache hit)
npm http cache https://registry.npmjs.org/shebang-regex 1ms (cache hit)
npm http cache https://registry.npmjs.org/isexe 1ms (cache hit)
npm http cache https://registry.npmjs.org/is-docker 1ms (cache hit)
npm http cache https://registry.npmjs.org/semver 8ms (cache hit)
npm http cache https://registry.npmjs.org/detect-libc 10ms (cache hit)
npm http cache https://registry.npmjs.org/minimist 9ms (cache hit)
npm http cache https://registry.npmjs.org/noop-logger 10ms (cache hit)
npm http cache https://registry.npmjs.org/napi-build-utils 10ms (cache hit)
npm http cache https://registry.npmjs.org/expand-template 12ms (cache hit)
npm http cache https://registry.npmjs.org/mkdirp-classic 11ms (cache hit)
npm http cache https://registry.npmjs.org/simple-get 11ms (cache hit)
npm http cache https://registry.npmjs.org/pump 12ms (cache hit)
npm http cache https://registry.npmjs.org/npmlog 12ms (cache hit)
npm http cache https://registry.npmjs.org/rc 13ms (cache hit)
npm http cache https://registry.npmjs.org/github-from-package 15ms (cache hit)
npm http cache https://registry.npmjs.org/tar-fs 13ms (cache hit)
npm http cache https://registry.npmjs.org/tunnel-agent 14ms (cache hit)
npm http cache https://registry.npmjs.org/which-pm-runs 14ms (cache hit)
npm http cache https://registry.npmjs.org/gauge 8ms (cache hit)
npm http cache https://registry.npmjs.org/once 8ms (cache hit)
npm http cache https://registry.npmjs.org/console-control-strings 8ms (cache hit)
npm http cache https://registry.npmjs.org/end-of-stream 8ms (cache hit)
npm http cache https://registry.npmjs.org/ini 9ms (cache hit)
npm http cache https://registry.npmjs.org/strip-json-comments 8ms (cache hit)
npm http cache https://registry.npmjs.org/are-we-there-yet 10ms (cache hit)
npm http cache https://registry.npmjs.org/deep-extend 10ms (cache hit)
npm http cache https://registry.npmjs.org/set-blocking 11ms (cache hit)
npm http cache https://registry.npmjs.org/decompress-response 10ms (cache hit)
npm http cache https://registry.npmjs.org/once 11ms (cache hit)
npm http cache https://registry.npmjs.org/chownr 11ms (cache hit)
npm http cache https://registry.npmjs.org/simple-concat 11ms (cache hit)
npm http cache https://registry.npmjs.org/safe-buffer 12ms (cache hit)
npm http cache https://registry.npmjs.org/tar-stream 13ms (cache hit)
npm http cache https://registry.npmjs.org/readable-stream 4ms (cache hit)
npm http cache https://registry.npmjs.org/wide-align 6ms (cache hit)
npm http cache https://registry.npmjs.org/aproba 7ms (cache hit)
npm http cache https://registry.npmjs.org/object-assign 7ms (cache hit)
npm http cache https://registry.npmjs.org/has-unicode 8ms (cache hit)
npm http cache https://registry.npmjs.org/string-width 8ms (cache hit)
npm http cache https://registry.npmjs.org/delegates 10ms (cache hit)
npm http cache https://registry.npmjs.org/strip-ansi 9ms (cache hit)
npm http cache https://registry.npmjs.org/isarray 3ms (cache hit)
npm http cache https://registry.npmjs.org/core-util-is 4ms (cache hit)
npm http cache https://registry.npmjs.org/inherits 4ms (cache hit)
npm http cache https://registry.npmjs.org/util-deprecate 4ms (cache hit)
npm http cache https://registry.npmjs.org/process-nextick-args 4ms (cache hit)
npm http cache https://registry.npmjs.org/string_decoder 4ms (cache hit)
npm http cache https://registry.npmjs.org/is-fullwidth-code-point 1ms (cache hit)
npm http cache https://registry.npmjs.org/code-point-at 2ms (cache hit)
npm http cache https://registry.npmjs.org/ansi-regex 2ms (cache hit)
npm http cache https://registry.npmjs.org/wrappy 1ms (cache hit)
npm http cache https://registry.npmjs.org/mimic-response 2ms (cache hit)
npm http cache https://registry.npmjs.org/number-is-nan 1ms (cache hit)
npm http cache https://registry.npmjs.org/fs-constants 2ms (cache hit)
npm http cache https://registry.npmjs.org/bl 3ms (cache hit)
npm http cache https://registry.npmjs.org/buffer 2ms (cache hit)
npm http cache https://registry.npmjs.org/base64-js 1ms (cache hit)
npm http cache https://registry.npmjs.org/ieee754 2ms (cache hit)
npm http cache isexe@https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz 0ms (cache hit)
npm http cache base64-js@https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz 0ms (cache hit)
npm http cache buffer@https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz 0ms (cache hit)
npm http cache ieee754@https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz 0ms (cache hit)
npm http cache fs-constants@https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz 0ms (cache hit)
npm http cache bl@https://registry.npmjs.org/bl/-/bl-4.1.0.tgz 0ms (cache hit)
npm http cache tar-stream@https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz 0ms (cache hit)
npm http cache ansi-regex@https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz 0ms (cache hit)
npm http cache chownr@https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz 0ms (cache hit)
npm http cache number-is-nan@https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz 0ms (cache hit)
npm http cache is-fullwidth-code-point@https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz 0ms (cache hit)
npm http cache code-point-at@https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz 0ms (cache hit)
npm http cache mimic-response@https://registry.npmjs.org/mimic-response/-/mimic-response-2.1.0.tgz 0ms (cache hit)
npm http cache simple-concat@https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz 0ms (cache hit)
npm http cache decompress-response@https://registry.npmjs.org/decompress-response/-/decompress-response-4.2.1.tgz 0ms (cache hit)
npm http cache shebang-regex@https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz 0ms (cache hit)
npm http cache util-deprecate@https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz 0ms (cache hit)
npm http cache string_decoder@https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz 0ms (cache hit)
npm http cache safe-buffer@https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz 0ms (cache hit)
npm http cache process-nextick-args@https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz 0ms (cache hit)
npm http cache isarray@https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz 0ms (cache hit)
npm http cache inherits@https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz 0ms (cache hit)
npm http cache ini@https://registry.npmjs.org/ini/-/ini-1.3.8.tgz 0ms (cache hit)
npm http cache core-util-is@https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz 0ms (cache hit)
npm http cache deep-extend@https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz 0ms (cache hit)
npm http cache wrappy@https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz 0ms (cache hit)
npm http cache once@https://registry.npmjs.org/once/-/once-1.4.0.tgz 0ms (cache hit)
npm http cache end-of-stream@https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz 0ms (cache hit)
npm http cache wide-align@https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz 0ms (cache hit)
npm http cache strip-json-comments@https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz 0ms (cache hit)
npm http cache strip-ansi@https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz 0ms (cache hit)
npm http cache string-width@https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz 0ms (cache hit)
npm http cache object-assign@https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz 0ms (cache hit)
npm http cache has-unicode@https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz 0ms (cache hit)
npm http cache aproba@https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz 0ms (cache hit)
npm http cache readable-stream@https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz 0ms (cache hit)
npm http cache delegates@https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz 0ms (cache hit)
npm http cache set-blocking@https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz 0ms (cache hit)
npm http cache gauge@https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz 0ms (cache hit)
npm http cache console-control-strings@https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz 0ms (cache hit)
npm http cache are-we-there-yet@https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz 0ms (cache hit)
npm http cache which-pm-runs@https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.1.0.tgz 0ms (cache hit)
npm http cache tunnel-agent@https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz 0ms (cache hit)
npm http cache tar-fs@https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz 0ms (cache hit)
npm http cache simple-get@https://registry.npmjs.org/simple-get/-/simple-get-3.1.1.tgz 0ms (cache hit)
npm http cache rc@https://registry.npmjs.org/rc/-/rc-1.2.8.tgz 0ms (cache hit)
npm http cache pump@https://registry.npmjs.org/pump/-/pump-3.0.2.tgz 0ms (cache hit)
npm http cache npmlog@https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz 0ms (cache hit)
npm http cache noop-logger@https://registry.npmjs.org/noop-logger/-/noop-logger-0.1.1.tgz 0ms (cache hit)
npm http cache napi-build-utils@https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz 0ms (cache hit)
npm http cache mkdirp-classic@https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz 0ms (cache hit)
npm http cache minimist@https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz 0ms (cache hit)
npm http cache github-from-package@https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz 0ms (cache hit)
npm http cache expand-template@https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz 0ms (cache hit)
npm http cache detect-libc@https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz 0ms (cache hit)
npm http cache semver@https://registry.npmjs.org/semver/-/semver-5.7.2.tgz 0ms (cache hit)
npm http cache prebuild-install@https://registry.npmjs.org/prebuild-install/-/prebuild-install-5.3.6.tgz 0ms (cache hit)
npm http cache node-abi@https://registry.npmjs.org/node-abi/-/node-abi-2.30.1.tgz 0ms (cache hit)
npm http cache nan@https://registry.npmjs.org/nan/-/nan-2.22.0.tgz 0ms (cache hit)
npm http cache mimic-fn@https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz 0ms (cache hit)
npm http cache system-architecture@https://registry.npmjs.org/system-architecture/-/system-architecture-0.1.0.tgz 0ms (cache hit)
npm http cache is-docker@https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz 0ms (cache hit)
npm http cache is-inside-container@https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz 0ms (cache hit)
npm http cache which@https://registry.npmjs.org/which/-/which-2.0.2.tgz 0ms (cache hit)
npm http cache shebang-command@https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz 0ms (cache hit)
npm http cache path-key@https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz 0ms (cache hit)
npm http cache strip-final-newline@https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz 0ms (cache hit)
npm http cache signal-exit@https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz 0ms (cache hit)
npm http cache onetime@https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz 0ms (cache hit)
npm http cache npm-run-path@https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz 0ms (cache hit)
npm http cache merge-stream@https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz 0ms (cache hit)
npm http cache is-stream@https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz 0ms (cache hit)
npm http cache human-signals@https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz 0ms (cache hit)
npm http cache get-stream@https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz 0ms (cache hit)
npm http cache cross-spawn@https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz 0ms (cache hit)
npm http cache is64bit@https://registry.npmjs.org/is64bit/-/is64bit-2.0.0.tgz 0ms (cache hit)
npm http cache is-wsl@https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz 0ms (cache hit)
npm http cache execa@https://registry.npmjs.org/execa/-/execa-8.0.1.tgz 0ms (cache hit)
npm http cache @types/ws@https://registry.npmjs.org/@types/ws/-/ws-8.5.13.tgz 0ms (cache hit)
npm http cache undici-types@https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz 0ms (cache hit)
npm http cache bun-types@https://registry.npmjs.org/bun-types/-/bun-types-1.1.43.tgz 0ms (cache hit)
npm http cache typescript@https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz 0ms (cache hit)
npm http cache robotjs@https://registry.npmjs.org/robotjs/-/robotjs-0.6.0.tgz 0ms (cache hit)
npm http cache clipboardy@https://registry.npmjs.org/clipboardy/-/clipboardy-4.0.0.tgz 0ms (cache hit)
npm http cache @types/node@https://registry.npmjs.org/@types/node/-/node-22.10.5.tgz 0ms (cache hit)
npm http cache @types/clipboardy@https://registry.npmjs.org/@types/clipboardy/-/clipboardy-2.0.4.tgz 0ms (cache hit)
npm http cache @types/bun@https://registry.npmjs.org/@types/bun/-/bun-1.1.16.tgz 0ms (cache hit)
npm http cache readable-stream@https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz 0ms (cache hit)
npm http cache readable-stream@https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz 0ms (cache hit)
npm http cache signal-exit@https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz 0ms (cache hit)
npm http cache path-key@https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz 0ms (cache hit)
npm http cache undici-types@https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz 0ms (cache hit)
npm http cache @types/node@https://registry.npmjs.org/@types/node/-/node-20.12.14.tgz 0ms (cache hit)
npm warn deprecated @types/[email protected]: This is a stub types definition. clipboardy provides its own type definitions, so you do not need this installed.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: This package is no longer supported.
npm info run [email protected] install node_modules/robotjs prebuild-install || node-gyp rebuild
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 880ms
npm info run [email protected] install { code: 1, signal: null }
npm verbose stack Error: command failed
npm verbose stack     at promiseSpawn (/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22)
npm verbose stack     at spawnWithShell (/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10)
npm verbose stack     at promiseSpawn (/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12)
npm verbose stack     at runScriptPkg (/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13)
npm verbose stack     at runScript (/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12)
npm verbose stack     at /home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:329:17
npm verbose stack     at run (/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:67:22)
npm verbose stack     at /home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:84:9
npm verbose stack     at new Promise (<anonymous>)
npm verbose stack     at callLimit (/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:35:69)
npm verbose pkgid [email protected]
npm error code 1
npm error path /programs/punto/node_modules/robotjs
npm error command failed
npm error command sh -c prebuild-install || node-gyp rebuild
npm error make: вход в каталог «/programs/punto/node_modules/robotjs/build»
npm error   g++ -o Release/obj.target/robotjs/src/robotjs.o ../src/robotjs.cc '-DNODE_GYP_MODULE_NAME=robotjs' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/kirill/.cache/node-gyp/22.13.0/include/node -I/home/kirill/.cache/node-gyp/22.13.0/src -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/config -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/openssl/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/uv/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/zlib -I/home/kirill/.cache/node-gyp/22.13.0/deps/v8/include -I../../nan  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -fno-strict-aliasing -std=gnu++17 -MMD -MF ./Release/.deps/Release/obj.target/robotjs/src/robotjs.o.d.raw   -c
npm error   cc -o Release/obj.target/robotjs/src/deadbeef_rand.o ../src/deadbeef_rand.c '-DNODE_GYP_MODULE_NAME=robotjs' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/kirill/.cache/node-gyp/22.13.0/include/node -I/home/kirill/.cache/node-gyp/22.13.0/src -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/config -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/openssl/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/uv/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/zlib -I/home/kirill/.cache/node-gyp/22.13.0/deps/v8/include -I../../nan  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -m64 -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/robotjs/src/deadbeef_rand.o.d.raw   -c
npm error   cc -o Release/obj.target/robotjs/src/mouse.o ../src/mouse.c '-DNODE_GYP_MODULE_NAME=robotjs' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/kirill/.cache/node-gyp/22.13.0/include/node -I/home/kirill/.cache/node-gyp/22.13.0/src -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/config -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/openssl/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/uv/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/zlib -I/home/kirill/.cache/node-gyp/22.13.0/deps/v8/include -I../../nan  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -m64 -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/robotjs/src/mouse.o.d.raw   -c
npm error   cc -o Release/obj.target/robotjs/src/keypress.o ../src/keypress.c '-DNODE_GYP_MODULE_NAME=robotjs' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/kirill/.cache/node-gyp/22.13.0/include/node -I/home/kirill/.cache/node-gyp/22.13.0/src -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/config -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/openssl/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/uv/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/zlib -I/home/kirill/.cache/node-gyp/22.13.0/deps/v8/include -I../../nan  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -m64 -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/robotjs/src/keypress.o.d.raw   -c
npm error   cc -o Release/obj.target/robotjs/src/keycode.o ../src/keycode.c '-DNODE_GYP_MODULE_NAME=robotjs' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/kirill/.cache/node-gyp/22.13.0/include/node -I/home/kirill/.cache/node-gyp/22.13.0/src -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/config -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/openssl/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/uv/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/zlib -I/home/kirill/.cache/node-gyp/22.13.0/deps/v8/include -I../../nan  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -m64 -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/robotjs/src/keycode.o.d.raw   -c
npm error   cc -o Release/obj.target/robotjs/src/screen.o ../src/screen.c '-DNODE_GYP_MODULE_NAME=robotjs' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/kirill/.cache/node-gyp/22.13.0/include/node -I/home/kirill/.cache/node-gyp/22.13.0/src -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/config -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/openssl/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/uv/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/zlib -I/home/kirill/.cache/node-gyp/22.13.0/deps/v8/include -I../../nan  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -m64 -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/robotjs/src/screen.o.d.raw   -c
npm error   cc -o Release/obj.target/robotjs/src/screengrab.o ../src/screengrab.c '-DNODE_GYP_MODULE_NAME=robotjs' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/kirill/.cache/node-gyp/22.13.0/include/node -I/home/kirill/.cache/node-gyp/22.13.0/src -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/config -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/openssl/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/uv/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/zlib -I/home/kirill/.cache/node-gyp/22.13.0/deps/v8/include -I../../nan  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -m64 -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/robotjs/src/screengrab.o.d.raw   -c
npm error   cc -o Release/obj.target/robotjs/src/snprintf.o ../src/snprintf.c '-DNODE_GYP_MODULE_NAME=robotjs' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/kirill/.cache/node-gyp/22.13.0/include/node -I/home/kirill/.cache/node-gyp/22.13.0/src -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/config -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/openssl/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/uv/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/zlib -I/home/kirill/.cache/node-gyp/22.13.0/deps/v8/include -I../../nan  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -m64 -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/robotjs/src/snprintf.o.d.raw   -c
npm error   cc -o Release/obj.target/robotjs/src/MMBitmap.o ../src/MMBitmap.c '-DNODE_GYP_MODULE_NAME=robotjs' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/kirill/.cache/node-gyp/22.13.0/include/node -I/home/kirill/.cache/node-gyp/22.13.0/src -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/config -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/openssl/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/uv/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/zlib -I/home/kirill/.cache/node-gyp/22.13.0/deps/v8/include -I../../nan  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -m64 -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/robotjs/src/MMBitmap.o.d.raw   -c
npm error   cc -o Release/obj.target/robotjs/src/xdisplay.o ../src/xdisplay.c '-DNODE_GYP_MODULE_NAME=robotjs' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/kirill/.cache/node-gyp/22.13.0/include/node -I/home/kirill/.cache/node-gyp/22.13.0/src -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/config -I/home/kirill/.cache/node-gyp/22.13.0/deps/openssl/openssl/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/uv/include -I/home/kirill/.cache/node-gyp/22.13.0/deps/zlib -I/home/kirill/.cache/node-gyp/22.13.0/deps/v8/include -I../../nan  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -Wall -Wparentheses -Winline -Wbad-function-cast -Wdisabled-optimization -m64 -O3 -fno-omit-frame-pointer  -MMD -MF ./Release/.deps/Release/obj.target/robotjs/src/xdisplay.o.d.raw   -c
npm error make: выход из каталога «/programs/punto/node_modules/robotjs/build»
npm error prebuild-install info begin Prebuild-install version 5.3.6
npm error prebuild-install info install installing standalone, skipping download.
npm error gyp info it worked if it ends with ok
npm error gyp verb cli [
npm error gyp verb cli '/home/kirill/.nvm/versions/node/v22.13.0/bin/node',
npm error gyp verb cli '/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
npm error gyp verb cli 'rebuild'
npm error gyp verb cli ]
npm error gyp info using [email protected]
npm error gyp info using [email protected] | linux | x64
npm error gyp verb clean removing "build" directory
npm error gyp verb find Python Python is not set from command line or npm configuration
npm error gyp verb find Python checking Python explicitly set from environment variable PYTHON
npm error gyp verb find Python - process.env.PYTHON is "python2"
npm error gyp verb find Python - executing "python2" to get executable path
npm error gyp verb find Python - executable path is ""
npm error gyp verb find Python - executing "" to get version
npm error gyp verb find Python - "" could not be run
npm error gyp verb find Python checking if "python3" can be used
npm error gyp verb find Python - executing "python3" to get executable path
npm error gyp verb find Python - executable path is "/bin/python3"
npm error gyp verb find Python - executing "/bin/python3" to get version
npm error gyp verb find Python - version is "3.12.7"
npm error gyp info find Python using Python version 3.12.7 found at "/bin/python3"
npm error gyp verb get node dir no --target version specified, falling back to host node version: 22.13.0
npm error gyp verb install input version string "22.13.0"
npm error gyp verb install installing version: 22.13.0
npm error gyp verb install --ensure was passed, so won't reinstall if already installed
npm error gyp verb install version is already installed, need to check "installVersion"
npm error gyp verb got "installVersion" 11
npm error gyp verb needs "installVersion" 11
npm error gyp verb install version is good
npm error gyp verb get node dir target node version installed: 22.13.0
npm error gyp verb build dir attempting to create "build" dir: /programs/punto/node_modules/robotjs/build
npm error gyp verb build dir "build" dir needed to be created? Yes
npm error gyp verb build/config.gypi creating config file
npm error gyp verb build/config.gypi writing out config file: /programs/punto/node_modules/robotjs/build/config.gypi
npm error gyp verb config.gypi checking for gypi file: /programs/punto/node_modules/robotjs/config.gypi
npm error gyp verb common.gypi checking for gypi file: /programs/punto/node_modules/robotjs/common.gypi
npm error gyp verb gyp gyp format was not specified; forcing "make"
npm error gyp info spawn /bin/python3
npm error gyp info spawn args [
npm error gyp info spawn args '/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/programs/punto/node_modules/robotjs/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/home/kirill/.cache/node-gyp/22.13.0/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=/home/kirill/.cache/node-gyp/22.13.0',
npm error gyp info spawn args '-Dnode_gyp_dir=/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/home/kirill/.cache/node-gyp/22.13.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/programs/punto/node_modules/robotjs',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp verb build type Release
npm error gyp verb architecture x64
npm error gyp verb node dev dir /home/kirill/.cache/node-gyp/22.13.0
npm error gyp verb python /bin/python3
npm error gyp verb `which` succeeded for `make` /bin/make
npm error gyp verb bin symlinks created symlink to "/bin/python3" in "/programs/punto/node_modules/robotjs/build/node_gyp_bins" and added to PATH
npm error gyp info spawn make
npm error gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
npm error cc1plus: warning: command-line option ‘-Wbad-function-cast’ is valid for C/ObjC but not for C++
npm error In file included from ../src/robotjs.cc:1:
npm error /home/kirill/.cache/node-gyp/22.13.0/include/node/node.h:1226:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
npm error  1226 |       (node::addon_register_func) (regfunc),                          \
npm error       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /home/kirill/.cache/node-gyp/22.13.0/include/node/node.h:1260:3: note: in expansion of macro ‘NODE_MODULE_X’
npm error  1260 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
npm error       |   ^~~~~~~~~~~~~
npm error ../src/robotjs.cc:907:1: note: in expansion of macro ‘NODE_MODULE’
npm error   907 | NODE_MODULE(robotjs, InitAll)
npm error       | ^~~~~~~~~~~
npm error In file included from ../../nan/nan_new.h:189,
npm error                  from ../../nan/nan.h:308,
npm error                  from ../src/robotjs.cc:2:
npm error In function ‘typename Nan::imp::Factory<T>::return_t Nan::New(FunctionCallback, v8::Local<v8::Value>) [with T = v8::FunctionTemplate]’,
npm error     inlined from ‘void InitAll(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ at ../src/robotjs.cc:868:19:
npm error ../../nan/nan_implementation_12_inl.h:119:1: warning: inlining failed in call to ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’: --param large-function-growth limit reached [-Winline]
npm error   119 | Factory<v8::FunctionTemplate>::New( FunctionCallback callback
npm error       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../../nan/nan_new.h:239:32: note: called from here
npm error   239 |     return imp::Factory<T>::New(callback, data);
npm error       |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
npm error ../../nan/nan_implementation_12_inl.h:119:1: warning: inlining failed in call to ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’: --param large-function-growth limit reached [-Winline]
npm error   119 | Factory<v8::FunctionTemplate>::New( FunctionCallback callback
npm error       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../../nan/nan_new.h:239:32: note: called from here
npm error   239 |     return imp::Factory<T>::New(callback, data);
npm error       |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
npm error In function ‘typename Nan::imp::Factory<T>::return_t Nan::New(FunctionCallback, v8::Local<v8::Value>) [with T = v8::FunctionTemplate]’,
npm error     inlined from ‘void InitAll(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ at ../src/robotjs.cc:871:19:
npm error ../../nan/nan_implementation_12_inl.h:119:1: warning: inlining failed in call to ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’: --param large-function-growth limit reached [-Winline]
npm error   119 | Factory<v8::FunctionTemplate>::New( FunctionCallback callback
npm error       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../../nan/nan_new.h:239:32: note: called from here
npm error   239 |     return imp::Factory<T>::New(callback, data);
npm error       |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
npm error ../../nan/nan_implementation_12_inl.h:119:1: warning: inlining failed in call to ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’: --param large-function-growth limit reached [-Winline]
npm error   119 | Factory<v8::FunctionTemplate>::New( FunctionCallback callback
npm error       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../../nan/nan_new.h:239:32: note: called from here
npm error   239 |     return imp::Factory<T>::New(callback, data);
npm error       |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
npm error In function ‘typename Nan::imp::Factory<T>::return_t Nan::New(FunctionCallback, v8::Local<v8::Value>) [with T = v8::FunctionTemplate]’,
npm error     inlined from ‘void InitAll(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ at ../src/robotjs.cc:874:19:
npm error ../../nan/nan_implementation_12_inl.h:119:1: warning: inlining failed in call to ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’: --param large-function-growth limit reached [-Winline]
npm error   119 | Factory<v8::FunctionTemplate>::New( FunctionCallback callback
npm error       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../../nan/nan_new.h:239:32: note: called from here
npm error   239 |     return imp::Factory<T>::New(callback, data);
npm error       |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
npm error ../../nan/nan_implementation_12_inl.h:119:1: warning: inlining failed in call to ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’: --param large-function-growth limit reached [-Winline]
npm error   119 | Factory<v8::FunctionTemplate>::New( FunctionCallback callback
npm error       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../../nan/nan_new.h:239:32: note: called from here
npm error   239 |     return imp::Factory<T>::New(callback, data);
npm error       |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
npm error In function ‘typename Nan::imp::Factory<T>::return_t Nan::New(FunctionCallback, v8::Local<v8::Value>) [with T = v8::FunctionTemplate]’,
npm error     inlined from ‘void InitAll(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ at ../src/robotjs.cc:877:19:
npm error ../../nan/nan_implementation_12_inl.h:119:1: warning: inlining failed in call to ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’: --param large-function-growth limit reached [-Winline]
npm error   119 | Factory<v8::FunctionTemplate>::New( FunctionCallback callback
npm error       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../../nan/nan_new.h:239:32: note: called from here
npm error   239 |     return imp::Factory<T>::New(callback, data);
npm error       |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
npm error ../../nan/nan_implementation_12_inl.h:119:1: warning: inlining failed in call to ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’: --param large-function-growth limit reached [-Winline]
npm error   119 | Factory<v8::FunctionTemplate>::New( FunctionCallback callback
npm error       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../../nan/nan_new.h:239:32: note: called from here
npm error   239 |     return imp::Factory<T>::New(callback, data);
npm error       |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
npm error In function ‘typename Nan::imp::Factory<T>::return_t Nan::New(FunctionCallback, v8::Local<v8::Value>) [with T = v8::FunctionTemplate]’,
npm error     inlined from ‘void InitAll(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ at ../src/robotjs.cc:904:19:
npm error ../../nan/nan_implementation_12_inl.h:119:1: warning: inlining failed in call to ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’: --param large-function-growth limit reached [-Winline]
npm error   119 | Factory<v8::FunctionTemplate>::New( FunctionCallback callback
npm error       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../../nan/nan_new.h:239:32: note: called from here
npm error   239 |     return imp::Factory<T>::New(callback, data);
npm error       |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
npm error ../../nan/nan_implementation_12_inl.h:119:1: warning: inlining failed in call to ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’: --param large-function-growth limit reached [-Winline]
npm error   119 | Factory<v8::FunctionTemplate>::New( FunctionCallback callback
npm error       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../../nan/nan_new.h:239:32: note: called from here
npm error   239 |     return imp::Factory<T>::New(callback, data);
npm error       |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
npm error ../src/robotjs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE keyToggle(Nan::NAN_METHOD_ARGS_TYPE)’:
npm error ../src/robotjs.cc:592:38: warning: ‘down’ may be used uninitialized [-Wmaybe-uninitialized]
npm error   592 |                         toggleKeyCode(key, down, flags);
npm error       |                         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
npm error ../src/robotjs.cc:530:14: note: ‘down’ was declared here
npm error   530 |         bool down;
npm error       |              ^~~~
npm error ../src/keypress.c: In function ‘typeString’:
npm error ../src/keypress.c:259:39: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized]
npm error   259 |         #define toggleUniKey(c, down) toggleKey(c, down, MOD_NONE)
npm error       |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/keypress.c:305:17: note: in expansion of macro ‘toggleUniKey’
npm error   305 |                 toggleUniKey(n, true);
npm error       |                 ^~~~~~~~~~~~
npm error ../src/keypress.c:274:23: note: ‘n’ was declared here
npm error   274 |         unsigned long n;
npm error       |                       ^
npm error ../src/snprintf.c: In function ‘portable_vsnprintf’:
npm error ../src/snprintf.c:557:35: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
npm error   557 |       size_t n = !q ? strlen(p) : (q-p);
npm error       |                                   ^~~~~
npm error ../src/snprintf.c:704:42: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
npm error   704 |             str_arg_l = !q ? precision : (q-str_arg);
npm error       |                                          ^~~~~~~~~~~
npm error ../src/snprintf.c:943:62: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
npm error   943 |             fast_memset(str+str_l, (zero_padding?'0':' '), (n>avail?avail:n));
npm error       |                                                              ^
npm error ../src/snprintf.c:372:35: note: in definition of macro ‘fast_memset’
npm error   372 |   { register size_t nn = (size_t)(n); \
npm error       |                                   ^
npm error ../src/snprintf.c:943:75: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
npm error   943 |             fast_memset(str+str_l, (zero_padding?'0':' '), (n>avail?avail:n));
npm error       |                                                                           ^
npm error ../src/snprintf.c:372:35: note: in definition of macro ‘fast_memset’
npm error   372 |   { register size_t nn = (size_t)(n); \
npm error       |                                   ^
npm error ../src/snprintf.c:960:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
npm error   960 |             fast_memcpy(str+str_l, str_arg, (n>avail?avail:n));
npm error       |                                               ^
npm error ../src/snprintf.c:365:35: note: in definition of macro ‘fast_memcpy’
npm error   365 |   { register size_t nn = (size_t)(n); \
npm error       |                                   ^
npm error ../src/snprintf.c:960:60: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
npm error   960 |             fast_memcpy(str+str_l, str_arg, (n>avail?avail:n));
npm error       |                                                            ^
npm error ../src/snprintf.c:365:35: note: in definition of macro ‘fast_memcpy’
npm error   365 |   { register size_t nn = (size_t)(n); \
npm error       |                                   ^
npm error ../src/snprintf.c:969:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
npm error   969 |             fast_memset(str+str_l, '0', (n>avail?avail:n));
npm error       |                                           ^
npm error ../src/snprintf.c:372:35: note: in definition of macro ‘fast_memset’
npm error   372 |   { register size_t nn = (size_t)(n); \
npm error       |                                   ^
npm error ../src/snprintf.c:969:56: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
npm error   969 |             fast_memset(str+str_l, '0', (n>avail?avail:n));
npm error       |                                                        ^
npm error ../src/snprintf.c:372:35: note: in definition of macro ‘fast_memset’
npm error   372 |   { register size_t nn = (size_t)(n); \
npm error       |                                   ^
npm error ../src/snprintf.c:981:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
npm error   981 |                         (n>avail?avail:n));
npm error       |                           ^
npm error ../src/snprintf.c:365:35: note: in definition of macro ‘fast_memcpy’
npm error   365 |   { register size_t nn = (size_t)(n); \
npm error       |                                   ^
npm error ../src/snprintf.c:981:40: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
npm error   981 |                         (n>avail?avail:n));
npm error       |                                        ^
npm error ../src/snprintf.c:365:35: note: in definition of macro ‘fast_memcpy’
npm error   365 |   { register size_t nn = (size_t)(n); \
npm error       |                                   ^
npm error ../src/snprintf.c:992:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
npm error   992 |             fast_memset(str+str_l, ' ', (n>avail?avail:n));
npm error       |                                           ^
npm error ../src/snprintf.c:372:35: note: in definition of macro ‘fast_memset’
npm error   372 |   { register size_t nn = (size_t)(n); \
npm error       |                                   ^
npm error ../src/snprintf.c:992:56: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
npm error   992 |             fast_memset(str+str_l, ' ', (n>avail?avail:n));
npm error       |                                                        ^
npm error ../src/snprintf.c:372:35: note: in definition of macro ‘fast_memset’
npm error   372 |   { register size_t nn = (size_t)(n); \
npm error       |                                   ^
npm error ../src/snprintf.c:564:19: warning: variable ‘starting_p’ set but not used [-Wunused-but-set-variable]
npm error   564 |       const char *starting_p;
npm error       |                   ^~~~~~~~~~
npm error ../src/snprintf.c:369:48: warning: ‘str_arg’ may be used uninitialized [-Wmaybe-uninitialized]
npm error   369 |       for (ss=(s), dd=(d); nn>0; nn--) *dd++ = *ss++; } }
npm error       |                                                ^~~~~
npm error ../src/snprintf.c:980:13: note: in expansion of macro ‘fast_memcpy’
npm error   980 |             fast_memcpy(str+str_l, str_arg+zero_padding_insertion_ind,
npm error       |             ^~~~~~~~~~~
npm error ../src/snprintf.c:573:19: note: ‘str_arg’ was declared here
npm error   573 |       const char *str_arg;      /* string address in case of string argument */
npm error       |                   ^~~~~~~
npm error ../src/xdisplay.c: In function ‘setXDisplay’:
npm error ../src/xdisplay.c:53:23: error: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration]
npm error    53 |         displayName = strdup(name);
npm error       |                       ^~~~~~
npm error ../src/xdisplay.c:53:23: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch]
npm error make: *** [robotjs.target.mk:132: Release/obj.target/robotjs/src/xdisplay.o] Ошибка 1
npm error gyp ERR! build error 
npm error gyp ERR! stack Error: `make` failed with exit code: 2
npm error gyp ERR! stack at ChildProcess.<anonymous> (/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:216:23)
npm error gyp ERR! System Linux 6.11.0-13-generic
npm error gyp ERR! command "/home/kirill/.nvm/versions/node/v22.13.0/bin/node" "/home/kirill/.nvm/versions/node/v22.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm error gyp ERR! cwd /programs/punto/node_modules/robotjs
npm error gyp ERR! node -v v22.13.0
npm error gyp ERR! node-gyp -v v11.0.0
npm error gyp ERR! not ok
npm verbose cwd /programs/punto
npm verbose os Linux 6.11.0-13-generic
npm verbose node v22.13.0
npm verbose npm  v10.9.2
npm verbose exit 1
npm verbose code 1
npm error A complete log of this run can be found in: /home/kirill/.npm/_logs/2025-01-11T10_23_02_435Z-debug-0.log

I thought it was because of python 3 and tried python 2, but is everything the same or am I doing something wrong?

P.S.
I hate python and 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

8 participants