Giter Site home page Giter Site logo

Comments (9)

fredericosilva avatar fredericosilva commented on August 23, 2024

It seams that aerospike-client-c/lib its empty

$find  aerospike-client-c
aerospike-client-c
aerospike-client-c/lib

Any idea what's wrong? Tks

from aerospike-client-nodejs.

GayathriKaliyamoorthy avatar GayathriKaliyamoorthy commented on August 23, 2024

Hi,
can you do rm -rf aerospike-client-c directory and retry node-gyp rebuild.

Aerospike Nodejs requires aerospike C Client, which is downloaded using a script.
The script checks for presence of aerospike-client-c directory in the parent directory and If it's present it avoids the downloading all over again.

In your case it seems like, due to incomplete download in earlier installations aeropsike-client-c directory is created but C client is not downloaded.
As the aerospike-client-c directory is present in the parent dir, script doesn't download C client as part of installation and that leads to subsequent failures.

from aerospike-client-nodejs.

fredericosilva avatar fredericosilva commented on August 23, 2024

Hello,

Still the same problem, there is a file with the name '2'

$ ls
2  aerospike-client-c  benchmarks  binding.gyp  build  docs  examples  LICENSE  npm-debug.log  package.json  README.md  scripts  src  test
$ cat 2
error: ubuntu13 is not supported.

Is this the problem?

from aerospike-client-nodejs.

cstivers78 avatar cstivers78 commented on August 23, 2024

Hi Frederico,

I just got in and saw this issue. I will try to help resolve this issue. I see what the issue is, and it should not take too long to resolve.

Thanks for your patience.

--Chris

from aerospike-client-nodejs.

cstivers78 avatar cstivers78 commented on August 23, 2024

We believe we have resolved the issue. Please try the latest release.

from aerospike-client-nodejs.

fredericosilva avatar fredericosilva commented on August 23, 2024

Hello, still the same error here with that file '2'

$ cat 2
error: ubuntu13 is not supported.
$ node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn python
gyp info spawn args [ '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/ubuntu/sandbox/aerospike-client-nodejs/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/ubuntu/.node-gyp/0.10.29/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/ubuntu/.node-gyp/0.10.29',
gyp info spawn args   '-Dmodule_root_dir=/home/ubuntu/sandbox/aerospike-client-nodejs',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory `/home/ubuntu/sandbox/aerospike-client-nodejs/build'
  ACTION binding_gyp_aerospike_client_c_target_run_scripts_aerospike_client_c_sh aerospike-client-c/lib/libaerospike.a
make: *** [aerospike-client-c/lib/libaerospike.a] Error 1
make: Leaving directory `/home/ubuntu/sandbox/aerospike-client-nodejs/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Linux 3.11.0-12-generic
gyp ERR! command "node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/ubuntu/sandbox/aerospike-client-nodejs
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok

Let me know if you need more info to help you debug this error.

from aerospike-client-nodejs.

cstivers78 avatar cstivers78 commented on August 23, 2024

Apologies.. I will enable Ubuntu 13.

from aerospike-client-nodejs.

cstivers78 avatar cstivers78 commented on August 23, 2024

I made the change. it worked locally for me, I hope it works for you.

from aerospike-client-nodejs.

fredericosilva avatar fredericosilva commented on August 23, 2024

It does install now. Thank you.

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.