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
npm install fails on win10 #122
Comments
Do you have a plan to solve the problem? |
The Node.js client library does not support Windows. At least we haven't verified that it can be installed and built on Windows. This npm package depends on Pulsar C++ client library, so the important thing is whether the C++ client works on Windows. According to Pulsar's official documentation, the C++ client only supports Linux and MacOS. However, the README describes how to build the C++ client on Windows. I have never tried this. |
@massakam It is even failing on Linux too - streamnative#81 |
This was the biggest reason why we decided not to use Apache Pulsar and favored Apache Kafka, as our whole team uses Windows laptops as dev machines. |
Can we get an update on this from a maintainer? Will the node client ever work on windows? This might be a show stopper for us 😢 |
@sijie What I want to do is be able to go into our node API project and I'd like to have a clean experience, clone > npm install > npm start, for our developers (both win and macOS). |
@osbornm Could you build the NodeJS client follow this README file https://github.com/apache/pulsar-client-node? I think the key point is to build the CPP client on windows first. |
@gaoran10 I can and have got the node client to build local after pulling down the c++ library building and setting the ENV. This is tangential to the problem I have though. I want to be able to go into my own node project, say an API I am building, install the node client via npm ( IMHO, the solution is to have this project publish the c++ binaries. You can see from the following output that npm/node-gyp is trying to fetch the prebuilt.
|
Unfortunately, there are no plans to publish pre-built C++ binaries at this time. Building and publishing binaries for different operating systems, NODE_MODULE_VERSIONs, and instruction set architectures can be costly. |
After version 1.8.0, you can easily use this command to install to windows systems: |
@shibd I'm still facing this issue :(
|
I want inatall on win10 x64,but failed
The text was updated successfully, but these errors were encountered: