Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Could not locate bindings file node-librdkafka.node

Suddenly I have started seeing below error while running a Node.js app using node-rdkafka. It was working before, not sure what triggered this error.

Error: Could not locate the bindings file. Tried -> /home/...../node-librdkafka.node ...

I tried npm install, npm rebuild, all of them work without giving any issue, just that the bindings do not get created.

this is on debian-jessie guest in Virtual box running on Windows as host.

Thanks!

like image 867
jeet Avatar asked Dec 05 '25 07:12

jeet


1 Answers

npm install node-rdkafka resolved this issue.

like image 128
jeet Avatar answered Dec 07 '25 23:12

jeet



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!