Comments (9)
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.
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.
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.
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.
This error is also present when using node 0.10.5 (via nvm) on OSX 10.8.3
from node-leveldb.
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.
I think we're just looking at an abandoned branch here. Levelup is working fine for me.
from node-leveldb.
I don't like how the iterator is handled in Levelup / Leveldown
from node-leveldb.
Same problem happening here, full log: https://gist.github.com/julienbrunuk/f420460f37525c1c2afe
from node-leveldb.
Related Issues (20)
- Switch to gitflow repository style HOT 6
- Collaborators wanted HOT 1
- npm install fails if coffee-script is already installed HOT 10
- demo/million.js is broken HOT 5
- share the same leveldb database between nodejs cluster processes HOT 3
- [request] Support synchronous open HOT 3
- makefile breaks during npm install HOT 3
- iterator should be a stream HOT 11
- Release new version to NPM HOT 1
- Check when iterator.forEach finished HOT 1
- coffee-script needs to be installed? HOT 3
- doesn't work with node v0.8.1 HOT 8
- Random test failures HOT 4
- Fixes for 0.8 HOT 3
- Push to npm v0.8 compat version
- is snappy support really on? HOT 4
- random empty keys when iterating over a database HOT 5
- [0.10] Module can't be found? HOT 1
- Would you consider allowing the LevelUP team to take over "leveldb" in npm? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-leveldb.