You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/05/19 01:02:10 UTC

[GitHub] [pulsar-client-node] pikitgb commented on issue #87: npm install fails on MacOS

pikitgb commented on issue #87:
URL: https://github.com/apache/pulsar-client-node/issues/87#issuecomment-630513828


   brew install libpulsar didn't worked for me, 
   I'm getting the following error
   
   ```
   > node-pre-gyp install --fallback-to-build
   
   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-v64-darwin-x64.tar.gz 
   node-pre-gyp WARN Pre-built binaries not found for pulsar-client@1.1.0 and node@10.17.0 (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 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
   ```


----------------------------------------------------------------
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:
users@infra.apache.org