Giter Site home page Giter Site logo

Comments (10)

cstivers78 avatar cstivers78 commented on August 23, 2024

Currently, the Node.js client only works on Linux. This is the message you saw regarding"Not compatible with your operating system or architecture" and "Valid OS: Linux".

This is because the Node.js Client depends on a C Client library, which is only available for Linux.

We are currently in the process of making the C Client library compatible with Mac OS X.

from aerospike-client-nodejs.

arun057 avatar arun057 commented on August 23, 2024

Is there an open issue for that?

from aerospike-client-nodejs.

cstivers78 avatar cstivers78 commented on August 23, 2024

Sorry, there is no open issue on that. We are internally working on mac compatibility, and do not have a time frame for its release. We will let you know when it is ready.

I will reopen this issue, and leave it open until Mac support is released.

from aerospike-client-nodejs.

arun057 avatar arun057 commented on August 23, 2024

Cool, thanks!

from aerospike-client-nodejs.

colinmutter avatar colinmutter commented on August 23, 2024

I'm not sure that this warrants another Issue, but this also doesn't build properly on Amazon Linux (Linux 3.4.68-59.97.amzn1.x86_64 GNU/Linux)

error: amazonami2013 is not supported.

And for what it's worth, I had to provide lsb_release to get that far.

yum install redhat-lsb-core-4.0-7.9.amzn1.x86_64

from aerospike-client-nodejs.

cstivers78 avatar cstivers78 commented on August 23, 2024

This should be in a separate ticket.

The client should be installable on Amazon's AMI, as it is RedHat based. You can modify the scripts/aerospike-client-c.sh script on line 64 to include "amazonami2013".

See:
https://github.com/aerospike/aerospike-client-nodejs/blob/master/scripts/aerospike-client-c.sh#L64

Modify that line as follows:

 "centos6" | "redhatenterpriceserver6" | "amazonami2013" ) 

Then rerun npm install, and it should work.

Note: I haven't tried it myself, I assume it will work, but I make no guarantees 😺 I assume it will work because the C client is built against what I believe is an older libc than what's on the Amazon AMI, which has a 3.x Linux Kernel vs the 2.6.x Linux Kernel of RHEL6. But without testing it, I can't be sure. I hope that you will let me know if it works, then I can make the appropriate changes. Good luck 🍀

from aerospike-client-nodejs.

colinmutter avatar colinmutter commented on August 23, 2024

Thanks @cstivers78. It builds perfectly. I've tested a few commands without issue. Would you accept a PR or be able to integrate? Or are you guys drawing the "officially supported" line at CentOS and RHEL6?

from aerospike-client-nodejs.

cstivers78 avatar cstivers78 commented on August 23, 2024

Yes, please send me a PR.

The "officially supported" line simply states that we ensure the software will work on said platforms, this is through QA and other processes.

from aerospike-client-nodejs.

cstivers78 avatar cstivers78 commented on August 23, 2024

Just released v1.0.2, which includes support for Mac OS X.

Please let me know how it goes.

from aerospike-client-nodejs.

ankurjasoria avatar ankurjasoria commented on August 23, 2024

Wont install on Windows7
When using below link for NodeJS with windows7 and run this command "$ npm install aerospike"
http://www.aerospike.com/docs/client/nodejs/install/

Error Message :
C:\nodecellar> npm install aerospike
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! notsup Valid OS: linux,darwin
npm ERR! notsup Valid Arch: x64
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: ia32

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin
\npm-cli.js" "install" "aerospike"
npm ERR! cwd C:\nodecellar
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! code EBADPLATFORM
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\nodecellar\npm-debug.log
npm ERR! not ok code 0
C:\nodecellar>

from aerospike-client-nodejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.