node-rdkafka icon indicating copy to clipboard operation
node-rdkafka copied to clipboard

Can not install node-rdkafka via npm

Open zachvoxwattz opened this issue 2 years ago • 4 comments

Hello,

I have been trying to install node-rdkafka but it keeps showing me gyp build errors. I have tried some guides available to resolve but no luck (including installing build essentials, reinstalling node, export WITH_SASL=0; npm install node-rdkafka, having openssl installed,... etc)

I have included the most recent log file for better problem inspection. Thank you in advance!

2022-11-14T18_08_09_351Z-debug-0.log

zachvoxwattz avatar Nov 14 '22 18:11 zachvoxwattz

If it is on mac- check this https://harsh-patel.medium.com/node-gyp-error-gyp-failed-with-exit-code-1-macos-npm-5aeaf75996d4

dileep006 avatar Dec 21 '22 23:12 dileep006

If it is on mac- check this https://harsh-patel.medium.com/node-gyp-error-gyp-failed-with-exit-code-1-macos-npm-5aeaf75996d4

Thanks for your info! I was on Arch Linux by the way.

zachvoxwattz avatar Dec 22 '22 16:12 zachvoxwattz

If it is on mac- check this https://harsh-patel.medium.com/node-gyp-error-gyp-failed-with-exit-code-1-macos-npm-5aeaf75996d4

This is mainly for the MacOS Catalina, I have ventura and I have tried all the solutions mentioned in this article. Nothing worked 😵‍💫

rehan-sattar avatar Jan 11 '23 10:01 rehan-sattar

I have similar problems if I'm using Node v19+. No problems with 18 though.

BryanDollery avatar Jan 11 '23 22:01 BryanDollery