paixaop/zwack

Won't install on macOS Monterey v12.2

mikado2005 opened this issue · 0 comments

Here is an installation log from install using node v16.13.2 and npm 8.1.2

$ npm i zwack
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! code 1
npm ERR! path /Users/greg/Documents/Projects/Cycling360/Scratch Pad/zwack/node_modules/@abandonware/bleno
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! CC(target) Release/obj.target/nothing/../../node-addon-api/nothing.o
npm ERR! LIBTOOL-STATIC Release/nothing.a
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@16.13.2 | darwin | x64
npm ERR! (node:11092) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
npm ERR! (Use node --trace-deprecation ... to show where the warning was created)
npm ERR! gyp info spawn /usr/bin/python2
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/Users/greg/Documents/Projects/Cycling360/Scratch Pad/zwack/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 '/Users/greg/Documents/Projects/Cycling360/Scratch Pad/zwack/node_modules/@abandonware/bleno/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/greg/Documents/Projects/Cycling360/Scratch Pad/zwack/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/greg/.node-gyp/16.13.2/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=/Users/greg/.node-gyp/16.13.2',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/Users/greg/Documents/Projects/Cycling360/Scratch Pad/zwack/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/greg/.node-gyp/16.13.2/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/greg/Documents/Projects/Cycling360/Scratch Pad/zwack/node_modules/@abandonware/bleno',
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! Traceback (most recent call last):
npm ERR! File "./gyp-mac-tool", line 611, in
npm ERR! sys.exit(main(sys.argv[1:]))
npm ERR! File "./gyp-mac-tool", line 28, in main
npm ERR! exit_code = executor.Dispatch(args)
npm ERR! File "./gyp-mac-tool", line 43, in Dispatch
npm ERR! return getattr(self, method)(*args[1:])
npm ERR! File "./gyp-mac-tool", line 246, in ExecFilterLibtool
npm ERR! if not libtool_re.match(line) and not libtool_re5.match(line):
npm ERR! TypeError: cannot use a string pattern on a bytes-like object
npm ERR! make: *** [Release/nothing.a] 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.onExit (/Users/greg/Documents/Projects/Cycling360/Scratch Pad/zwack/node_modules/node-gyp/lib/build.js:262:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Darwin 21.3.0
npm ERR! gyp ERR! command "/usr/local/bin/node" "/Users/greg/Documents/Projects/Cycling360/Scratch Pad/zwack/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /Users/greg/Documents/Projects/Cycling360/Scratch Pad/zwack/node_modules/@abandonware/bleno
npm ERR! gyp ERR! node -v v16.13.2
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/greg/.npm/_logs/2022-02-02T00_31_16_879Z-debug.log
zwack $