sneerin edited a comment on issue #87:
URL: 
https://github.com/apache/pulsar-client-node/issues/87#issuecomment-631051658


   switching to nodejs 10.x gives another error: 
   `node-pre-gyp WARN Pre-built binaries not found for pulsar-client@1.1.0 and 
node@10.16.3 (node-v64 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 28, in main
       exit_code = executor.Dispatch(args)
     File "./gyp-mac-tool", line 43, in Dispatch
       return getattr(self, method)(*args[1:])
     File "./gyp-mac-tool", line 246, 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/v10.16.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
   gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
   gyp ERR! stack     at Process.ChildProcess._handle.onexit 
(internal/child_process.js:248:12)
   gyp ERR! System Darwin 19.4.0
   gyp ERR! command "/Users/mdomarev/.nvm/versions/node/v10.16.3/bin/node" 
"/Users/mdomarev/.nvm/versions/node/v10.16.3/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=4" "--node_abi_napi=napi" "--napi_build_version=0" 
"--node_napi_label=node-v64"
   gyp ERR! cwd 
/Users/mdomarev/workspace/flow/yeniden/services/actor-api/node_modules/pulsar-client
   gyp ERR! node -v v10.16.3
   gyp ERR! node-gyp -v v3.8.0
   gyp ERR! not ok 
   node-pre-gyp ERR! build error 
   node-pre-gyp ERR! stack Error: Failed to execute 
'/Users/mdomarev/.nvm/versions/node/v10.16.3/bin/node 
/Users/mdomarev/.nvm/versions/node/v10.16.3/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=4 --node_abi_napi=napi --napi_build_version=0 
--node_napi_label=node-v64' (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:198:13)
   node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
   node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit 
(internal/child_process.js:259:5)
   node-pre-gyp ERR! System Darwin 19.4.0
   node-pre-gyp ERR! command 
"/Users/mdomarev/.nvm/versions/node/v10.16.3/bin/node" 
"/Users/mdomarev/workspace/flow/yeniden/services/actor-api/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 v10.16.3
   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/v10.16.3/bin/node 
/Users/mdomarev/.nvm/versions/node/v10.16.3/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=4 --node_abi_napi=napi --napi_build_version=0 
--node_napi_label=node-v64' (1)
   npm WARN actor-api@1.0.0 No repository field.
   
   npm ERR! code ELIFECYCLE
   npm ERR! errno 1
   npm ERR! pulsar-client@1.1.0 install: `node-pre-gyp install 
--fallback-to-build``


----------------------------------------------------------------
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


Reply via email to