Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ npm i leveldown
npm http GET https://registry.npmjs.org/leveldown
npm http 200 https://registry.npmjs.org/leveldown
npm http GET https://registry.npmjs.org/leveldown/-/leveldown-0.6.1.tgz
npm http 200 https://registry.npmjs.org/leveldown/-/leveldown-0.6.1.tgz
npm http GET https://registry.npmjs.org/bindings
npm http 200 https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/bindings/-/bindings-1.1.0.tgz
npm http 200 https://registry.npmjs.org/bindings/-/bindings-1.1.0.tgz
> leveldown@0.6.1 install /home/raynos/projects/spells-demo-app/node_modules/leveldown
> node-gyp rebuild
make: Entering directory `/home/raynos/projects/spells-demo-app/node_modules/leveldown/build'
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/db_impl.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/db_iter.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/filename.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/dbformat.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/log_reader.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/log_writer.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/memtable.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/repair.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/table_cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/version_edit.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/version_set.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/db/write_batch.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/helpers/memenv/memenv.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/table/block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/table/block_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/table/filter_block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/table/format.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/table/iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/table/merger.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/table/table.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/table/table_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/table/two_level_iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/arena.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/bloom.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/coding.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/comparator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/crc32c.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/env.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/filter_policy.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/hash.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/logging.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/options.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/status.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/port/port_posix.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.11.0/util/env_posix.o
AR(target) Release/obj.target/deps/leveldb/leveldb.a
COPY Release/leveldb.a
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.0/snappy-sinksource.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.0/snappy-stubs-internal.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.0/snappy.o
AR(target) Release/obj.target/deps/snappy/snappy.a
COPY Release/snappy.a
CXX(target) Release/obj.target/leveldown/src/async.o
In file included from ../src/database.h:15:0,
from ../src/async.cc:8:
../src/leveldown.h: In function ‘void DisposeStringOrBufferFromSlice(v8::Persistent<v8::Value>, leveldb::Slice)’:
../src/leveldown.h:90:15: error: ‘node_isolate’ is not a member of ‘node’
In file included from ../src/async.cc:8:0:
../src/database.h: At global scope:
../src/database.h:19:1: error: ‘node_isolate’ is not a member of ‘node’
../src/database.h:20:1: error: ‘node_isolate’ is not a member of ‘node’
../src/database.h:21:1: error: ‘node_isolate’ is not a member of ‘node’
../src/database.h:22:1: error: ‘node_isolate’ is not a member of ‘node’
../src/database.h:23:1: error: ‘node_isolate’ is not a member of ‘node’
../src/database.h:24:1: error: ‘node_isolate’ is not a member of ‘node’
../src/database.h:25:1: error: ‘node_isolate’ is not a member of ‘node’
../src/database.h:26:1: error: ‘node_isolate’ is not a member of ‘node’
../src/database.h:27:1: error: ‘node_isolate’ is not a member of ‘node’
../src/database.h:28:1: error: ‘node_isolate’ is not a member of ‘node’
../src/database.h:29:1: error: ‘node_isolate’ is not a member of ‘node’
../src/async.cc: In member function ‘virtual void leveldown::AsyncWorker::WorkComplete()’:
../src/async.cc:33:20: error: ‘node_isolate’ is not a member of ‘node’
In file included from ../src/async.cc:8:0:
../src/database.h: At global scope:
../src/database.h:19:1: warning: ‘leveldown::option_createIfMissing’ defined but not used [-Wunused-variable]
../src/database.h:20:1: warning: ‘leveldown::option_errorIfExists’ defined but not used [-Wunused-variable]
../src/database.h:21:1: warning: ‘leveldown::option_compression’ defined but not used [-Wunused-variable]
../src/database.h:22:1: warning: ‘leveldown::option_cacheSize’ defined but not used [-Wunused-variable]
../src/database.h:23:1: warning: ‘leveldown::option_writeBufferSize’ defined but not used [-Wunused-variable]
../src/database.h:24:1: warning: ‘leveldown::option_blockSize’ defined but not used [-Wunused-variable]
../src/database.h:25:1: warning: ‘leveldown::option_maxOpenFiles’ defined but not used [-Wunused-variable]
../src/database.h:26:1: warning: ‘leveldown::option_blockRestartInterval’ defined but not used [-Wunused-variable]
../src/database.h:27:1: warning: ‘leveldown::option_sync’ defined but not used [-Wunused-variable]
../src/database.h:28:1: warning: ‘leveldown::option_asBuffer’ defined but not used [-Wunused-variable]
../src/database.h:29:1: warning: ‘leveldown::option_fillCache’ defined but not used [-Wunused-variable]
make: *** [Release/obj.target/leveldown/src/async.o] Error 1
make: Leaving directory `/home/raynos/projects/spells-demo-app/node_modules/leveldown/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/raynos/projects/nvm/v0.11.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:103:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 3.8.0-25-generic
gyp ERR! command "node" "/home/raynos/projects/nvm/v0.11.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/raynos/projects/spells-demo-app/node_modules/leveldown
gyp ERR! node -v v0.11.3
gyp ERR! node-gyp -v v0.9.6
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.