node-rdkafka cannot be installed on windows 10
See original GitHub issueEnvironment 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:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Do we have any update on this issue? I have problems with version 2.6.1 of node-rdkafka on Windows 10 too.
Same issue over here. I also get a bunch of compilation errors with the new 2.7.0 version. 2.5.1 worked fine.