question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

node-rdkafka cannot be installed on windows 10

See original GitHub issue

Environment Information

  • OS: Windows 10
  • Node Version: 10.14.0
  • NPM Version: 6.1.0
  • C++ Toolchain: Visual Studio
  • node-rdkafka version: 2.6.1

Steps to Reproduce

npm install node-rdkafka

node_modules\nan\nan.h(1674): note: see declaration of 'Nan::Callback::Call' (compiling source file ..\src\connection.cc)
..\src\callbacks.cc(275): error C2589: '(': illegal token on right side of '::' [stuff\node_modules\node-rdkafka\build\node-librdkafka.vcxp
roj]
..\src\callbacks.cc(275): error C2059: syntax error: '::' [stuff\node_modules\node-rdkafka\build\node-librdkafka.vcxproj]

Additional context

It’s a bit sad.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
jomaledacommented, Apr 23, 2019

Do we have any update on this issue? I have problems with version 2.6.1 of node-rdkafka on Windows 10 too.

2reactions
kowalej-925commented, Jun 7, 2019

Same issue over here. I also get a bunch of compilation errors with the new 2.7.0 version. 2.5.1 worked fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node-rdkafka is not getting installed in local windows ...
node -rdkafka needs Python 2.7 as one of the dependency and it is already available in the system, path is also set for...
Read more >
node-rdkafka
node -rdkafka - Node.js wrapper for Kafka C/C++ library ... node-gyp for Windows (the easies way to get it: npm install --global --production ......
Read more >
Installing node-rdkafka on M1 for use with SASL
Here's a short, step by step guide on installing the node-rdkafka client specifically on M1 (the first chip released by Apple specifically ...
Read more >
Thoughts on using Kafka with Node.js (node-rdkafka)
Let me start by saying, node-rdkafka is a godsend. ... been able to do this with Node 10 on Alpine, but could not...
Read more >
Cannot find module 'node-rdkafka' - DevPress
Answer a question I have been trying to install node-rdkafka module in my project, but it gives the below error The commands i...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found