New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-rdkafka fails to install/build on Windows #487
Comments
try |
@skyfloyd Thank you for the suggestion. I tried that. It didn't quite work and now suggests using VS 2010 (going back in time?). The first entries that indicate something is not going according to plan are:
Note that I simplified my setup by creating an empty directory and then executing these commands:
This simplification didn't resolve it either. However, after removing node.js, npm, all node_modules as well as the respective caches, I got a bit further down the road by executing the following:
With that in place it still reports the missing files first but then continues to use nuget to get them. Then the compilation fails with missing headers for OpenSSL. I believe I have seen this elsewhere, so will try to research this for a bit and report back here. Update: I found some OpenSSL related information here. I downloaded and installed it into
Question: where does the |
@ManfredLange github doesn't allow me to attache exe file. Please find |
We had this exact same issue recently, can confirm using 2.3.4 (with VS2010 and OpenSSL set up as required) allows the install to complete successfully. I assume something about the Windows build changed between 2.3.4 and the current version? |
@skyfloyd I found version Alternatively, please send email (see my github profile) and we can then figure out how to get the file that you have across. That'd be awesome. |
@ManfredLange I sent it by email. Doesn't |
@ManfredLange hmmm, sorry gmail doesn't allow me to send it by email |
@skyfloyd and @t-davies Thank you both for your suggestions. Very much appreciated! Based on your comments and other sources I was able to make it work with the following approach in my own environment as well in other team members' environments: A. Installing Prerequisites
B. Pre-Build ChecksHere are some checks you can run to determine your chances of a successful install. If any of these tests fail, the install is unlikely to succeed.
C. BuildExecute Assuming I haven't missed an important step this should now work. It did in our environments, i.e. more than one Windows based development machine. |
@ManfredLange I wasn't able to install msbuild 12 from the link provided, instead downloading from here works |
Environment Information
Steps to Reproduce
I followed the steps as per this comment on issue 273 which are
Fails with error message: "MSBUILD : error MSB1009: Project file does not exist." originating from file "build\deps\librdkafka.vcxproj"
node-rdkafka Configuration Settings
I don't know what information you need here.
Additional context
Any suggestions for how to diagnose and resolve this are welcome!
I also tried installing the package via npm. Executing
npm i node-rdkafka
the output also includes these lines:Followed later by
This seems to suggest that something with the node-rdkafka installation script is not quite right.
The text was updated successfully, but these errors were encountered: