error ~/Documents/Github/nteract/applications/desktop/node_modules/zeromq: Command failed.
Exit code: 1
Command: node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)
Arguments:
Directory: ~/Documents/Github/nteract/applications/desktop/node_modules/zeromq
Output:
prebuild-install WARN install No prebuilt binaries found (target=18.4.0 runtime=node arch=arm64 libc= platform=darwin)
gyp info it worked if it ends with ok
gyp info using node-gyp@7.1.2
gyp info using node@18.4.0 | darwin | arm64
gyp info find Python using Python version 3.10.9 found at "/opt/homebrew/opt/python@3.10/bin/python3.10"
(node:64123) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
(Use `node --trace-deprecation ...` to show where the warning was created)
gyp info spawn /opt/homebrew/opt/python@3.10/bin/python3.10
gyp info spawn args [
gyp info spawn args '~/Documents/Github/nteract/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '~/Documents/Github/nteract/applications/desktop/node_modules/zeromq/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '~/Documents/Github/nteract/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '~/Library/Caches/node-gyp/18.4.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=~/Library/Caches/node-gyp/18.4.0',
gyp info spawn args '-Dnode_gyp_dir=~/Documents/Github/nteract/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=~/Library/Caches/node-gyp/18.4.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=~/Documents/Github/nteract/applications/desktop/node_modules/zeromq',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/zmq/binding.o
../binding.cc:28:10: fatal error: 'zmq.h' file not found
#include <zmq.h>
^~~~~~~
1 error generated.
make: *** [Release/obj.target/zmq/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (~/Documents/Github/nteract/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (node:events:537:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Darwin 22.2.0
Error report