NBSeven commented on issue #23:
URL: 
https://github.com/apache/rocketmq-client-nodejs/issues/23#issuecomment-888904313


   > @danger49 报什么错?
   装了cmake
   
   > git submodule update --init --recommend-shallow
   
   
   > [email protected] install 
/Users/wangzhongxiang/Documents/duiba/tuia-risk-adfilter-node/rocketmq-client-nodejs
   > if [ ! -d deps/rocketmq/bin ]; then deps/rocketmq/build.sh; fi && node-gyp 
rebuild
   
     CXX(target) Release/obj.target/rocketmq/src/rocketmq.o
     CXX(target) Release/obj.target/rocketmq/src/producer.o
     CXX(target) Release/obj.target/rocketmq/src/push_consumer.o
     CXX(target) Release/obj.target/rocketmq/src/consumer_ack.o
     SOLINK_MODULE(target) Release/rocketmq.node
   ld: library not found for -lrocketmq
   clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
   make: *** [Release/rocketmq.node] Error 1
   gyp ERR! build error 
   gyp ERR! stack Error: `make` failed with exit code: 2
   gyp ERR! stack     at ChildProcess.onExit 
(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
   gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
   gyp ERR! stack     at Process.ChildProcess._handle.onexit 
(internal/child_process.js:277:12)
   gyp ERR! System Darwin 20.3.0
   gyp ERR! command "/usr/local/bin/node" 
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" 
"rebuild"
   gyp ERR! cwd 
/Users/wangzhongxiang/Documents/duiba/tuia-risk-adfilter-node/rocketmq-client-nodejs
   gyp ERR! node -v v14.15.0
   gyp ERR! node-gyp -v v5.1.0
   gyp ERR! not ok 
   npm ERR! code ELIFECYCLE
   npm ERR! errno 1
   npm ERR! [email protected] install: `if [ ! -d deps/rocketmq/bin ]; 
then deps/rocketmq/build.sh; fi && node-gyp rebuild`
   npm ERR! Exit status 1
   npm ERR! 
   npm ERR! Failed at the [email protected] 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to