sneerin commented on issue #87: URL: https://github.com/apache/pulsar-client-node/issues/87#issuecomment-631023232
i've got libpulsar installed and this `node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://pulsar.apache.org/docs/en/client-libraries-cpp/libpulsar-v1.1.0-node-v72-darwin-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for pulsar-client@1.1.0 and node@12.13.0 (node-v72 ABI, unknown) (falling back to source compile with node-gyp) CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o LIBTOOL-STATIC Release/nothing.a Traceback (most recent call last): File "./gyp-mac-tool", line 611, in <module> sys.exit(main(sys.argv[1:])) File "./gyp-mac-tool", line 30, in main exit_code = executor.Dispatch(args) File "./gyp-mac-tool", line 45, in Dispatch return getattr(self, method)(*args[1:]) File "./gyp-mac-tool", line 248, in ExecFilterLibtool if not libtool_re.match(line) and not libtool_re5.match(line): TypeError: cannot use a string pattern on a bytes-like object make: *** [Release/nothing.a] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/Users/mdomarev/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:210:5) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) gyp ERR! System Darwin 19.4.0 gyp ERR! command "/Users/mdomarev/.nvm/versions/node/v12.13.0/bin/node" "/Users/mdomarev/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/mdomarev/workspace/flow/yeniden/services/actor-api/node_modules/pulsar-client/build/Release/libpulsar.node" "--module_name=libpulsar" "--module_path=/Users/mdomarev/workspace/flow/yeniden/services/actor-api/node_modules/pulsar-client/build/Release" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72" gyp ERR! cwd /Users/mdomarev/workspace/flow/yeniden/services/actor-api/node_modules/pulsar-client gyp ERR! node -v v12.13.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/Users/mdomarev/.nvm/versions/node/v12.13.0/bin/node /Users/mdomarev/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/mdomarev/workspace/flow/yeniden/services/actor-api/node_modules/pulsar-client/build/Release/libpulsar.node --module_name=libpulsar --module_path=/Users/mdomarev/workspace/flow/yeniden/services/actor-api/node_modules/pulsar-client/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/mdomarev/workspace/flow/yeniden/services/actor-api/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:210:5) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) node-pre-gyp ERR! System Darwin 19.4.0 node-pre-gyp ERR! command "/Users/mdomarev/.nvm/versions/node/v12.13.0/bin/node" "/Users/mdomarev/workspace/flow/yeniden/services/actor-api/node_modules/pulsar-client/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/mdomarev/workspace/flow/yeniden/services/actor-api/node_modules/pulsar-client node-pre-gyp ERR! node -v v12.13.0 node-pre-gyp ERR! node-pre-gyp -v v0.12.0 node-pre-gyp ERR! not ok Failed to execute '/Users/mdomarev/.nvm/versions/node/v12.13.0/bin/node /Users/mdomarev/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/mdomarev/workspace/flow/yeniden/services/actor-api/node_modules/pulsar-client/build/Release/libpulsar.node --module_name=libpulsar --module_path=/Users/mdomarev/workspace/flow/yeniden/services/actor-api/node_modules/pulsar-client/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) npm WARN actor-api@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs-ext@0.5.0 (node_modules/fs-ext): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs-ext@0.5.0 install: `node-gyp configure build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: snappy@5.0.5 (node_modules/snappy): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: snappy@5.0.5 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! pulsar-client@1.1.0 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pulsar-client@1.1.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above` ---------------------------------------------------------------- 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