Git Product home page Git Product logo

Comments (9)

danfinlay avatar danfinlay commented on June 1, 2024

I believe I'm experiencing the same thing:

gyp ERR! stack Error:`make`failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:256:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:754:12)
gyp ERR! System Darwin 12.2.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build"
gyp ERR! cwd /Users/somniac/Projects/level-convictions/app/node_modules/leveldb
gyp ERR! node -v v0.10.0
gyp ERR! node-gyp -v v0.8.5
gyp ERR! not ok 
make: *** [build] Error 1
npm ERR! leveldb@0.7.1 preinstall:`make build`
npm ERR!`sh "-c" "make build"` failed with 2
npm ERR! 
npm ERR! Failed at the leveldb@0.7.1 preinstall script.
npm ERR! This is most likely a problem with the leveldb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     make build

from node-leveldb.

electblake avatar electblake commented on June 1, 2024

bump?

I'm seeing:

../src/cpp/handle.cc:77:12: error: no matching function for call to 'AsyncQueue'
return AsyncQueue(op, AsyncWorker<T>, AsyncCallback<T>);
       ^~~~~~~~~~

from node-leveldb.

my8bird avatar my8bird commented on June 1, 2024

Sorry, about the delay in responding.

Can you try using 0.8? 0.10 was never tested and I am getting a separate issue on Ubuntu when building that I will try and track down.

from node-leveldb.

nickleefly avatar nickleefly commented on June 1, 2024

using node version 0.10.4, when I npm install
The error on ubuntu is

nick at www ~/Projects/node-leveldb  on master*$ npm install .

> [email protected] preinstall /home/nick/Projects/node-leveldb
> make build

if [ ! -d ./build ]; then node-gyp configure; fi
gyp http GET http://nodejs.org/dist/v0.10.4/node-v0.10.4.tar.gz
gyp http 200 http://nodejs.org/dist/v0.10.4/node-v0.10.4.tar.gz
node-gyp build
.
.
.
.
make[1]: *** [Release/obj.target/leveldb/src/cpp/handle.o] Error 1
make[1]: Leaving directory `/home/nick/Projects/node-leveldb/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/nick/nvm/v0.10.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:784:12)
gyp ERR! System Linux 3.8.2-030802-generic
gyp ERR! command "node" "/home/nick/nvm/v0.10.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build"
gyp ERR! cwd /home/nick/Projects/node-leveldb
gyp ERR! node -v v0.10.4
gyp ERR! node-gyp -v v0.9.5
gyp ERR! not ok 
make: *** [build] Error 1
npm ERR! [email protected] preinstall: `make build`
npm ERR! `sh "-c" "make build"` failed with 2
npm ERR! 
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is most likely a problem with the leveldb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     make build
npm ERR! You can get their info via:
npm ERR!     npm owner ls leveldb
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.8.2-030802-generic
npm ERR! command "/home/nick/nvm/v0.10.4/bin/node" "/home/nick/nvm/v0.10.4/bin/npm" "install" "."
npm ERR! cwd /home/nick/Projects/node-leveldb
npm ERR! node -v v0.10.4
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/nick/Projects/node-leveldb/npm-debug.log
npm ERR! not ok code 0

from node-leveldb.

diclophis avatar diclophis commented on June 1, 2024

This error is also present when using node 0.10.5 (via nvm) on OSX 10.8.3

from node-leveldb.

dazoe avatar dazoe commented on June 1, 2024

Please someone take over this project... there is leveldown but it doesn't support the iterator like this one does with seek, and prev

from node-leveldb.

danfinlay avatar danfinlay commented on June 1, 2024

I think we're just looking at an abandoned branch here. Levelup is working fine for me.

from node-leveldb.

dazoe avatar dazoe commented on June 1, 2024

I don't like how the iterator is handled in Levelup / Leveldown

from node-leveldb.

julienbrunuk avatar julienbrunuk commented on June 1, 2024

Same problem happening here, full log: https://gist.github.com/julienbrunuk/f420460f37525c1c2afe

from node-leveldb.

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.