bulolo commented on issue #87: URL: https://github.com/apache/pulsar-client-node/issues/87#issuecomment-791486834
``` npm install pulsar-client npm WARN deprecated node-pre-gyp@0.12.0: Please upgrade to @mapbox/node-pre-gyp@1.x: the non-scoped 'node-pre-gyp' package is deprecated and only the @mapbox scoped package will recieve updates in the future npm ERR! code 1 npm ERR! path /Users/hongjunyao/node_modules/pulsar-client npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! CC(target) Release/obj.target/nothing/../node-addon-api/src/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@12.18.3 | darwin | x64 npm ERR! gyp info spawn /usr/bin/python2.7 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/Users/hongjunyao/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/hongjunyao/node_modules/pulsar-client/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/hongjunyao/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/hongjunyao/.node-gyp/12.18.3/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/hongjunyao/.node-gyp/12.18.3', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/Users/hongjunyao/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/hongjunyao/.node-gyp/12.18.3/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/hongjunyao/node_modules/pulsar-client', 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 <module> 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/hongjunyao/node_modules/node-gyp/lib/build.js:262:23) npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:315:20) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) npm ERR! gyp ERR! System Darwin 20.4.0 npm ERR! gyp ERR! command "/usr/local/bin/node" "/Users/hongjunyao/node_modules/.bin/node-gyp" "rebuild" npm ERR! gyp ERR! cwd /Users/hongjunyao/node_modules/pulsar-client npm ERR! gyp ERR! node -v v12.18.3 npm ERR! gyp ERR! node-gyp -v v3.8.0 npm ERR! gyp ERR! not ok ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org