zhaoyajun2009 opened a new issue #188:
URL: https://github.com/apache/pulsar-client-node/issues/188


   
   **In step “Prerequisites”, in addition to the c++ library, you need to 
install gcc and g++ dependency, otherwise the following problems will occur in 
step “Install pulsar-client in your project” later:**
   
   [ec2-user@ip-172-31-0-126 ~]$ npm install pulsar-client
   npm ERR! code 1
   npm ERR! path /home/ec2-user/node_modules/pulsar-client   
   npm ERR! command failed
   npm ERR! command sh -c node-pre-gyp install --fallback-to-build
   npm ERR! make: 进入目录“/home/ec2-user/node_modules/pulsar-client/build”
   npm ERR!   CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
   npm ERR! make: 离开目录“/home/ec2-user/node_modules/pulsar-client/build”
   npm ERR! Failed to execute '/home/ec2-user/node-v16.13.1-linux-x64/bin/node 
/home/ec2-user/node-v16.13.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
 build --fallback-to-build 
--module=/home/ec2-user/node_modules/pulsar-client/build/Release/libpulsar.node 
--module_name=libpulsar 
--module_path=/home/ec2-user/node_modules/pulsar-client/build/Release 
--napi_version=8 --node_abi_napi=napi --napi_build_version=0 
--node_napi_label=node-v93' (1


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

To unsubscribe, e-mail: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to