Giter Site home page Giter Site logo

lev's Introduction

STATUS

development sponsored by voltra.co

SYNOPSIS

A simple and convenient commandline tool and REPL for leveldb.

FEATURES

  • REPL with colorized tab-completion and zsh/fish style key suggestions
  • REPL automatically saves and reloads REPL history

SCREENSHOT

screenshot

INSTALLATION

$ npm install -g lev

BASIC USAGE

$ lev path/to/db

REPL COMMANDS

Use upper or lower case for the following commands.

GET <key>

Get a key from the database.

PUT <key> <value>

Put a value into the database. If you have keyEncoding or valueEncoding set to json, these values will be parsed from strings into json.

DEL <key>

Delete a key from the database.

LS

Get all the keys in the current range.

START <key-pattern>

Defines the start of the current range. You can also use GT or GTE.

END <key-pattern>

Defines the end of the current range. You can also use LT or LTE.

LIMIT <number>

Limit the number of records in the current range (defaults to 5000).

REVERSE

Reverse the records in the current range.

CLI COMMANDS

These all match the parameters used with levelup. The default encoding for the database is set to json.

--start <key-pattern>

Specify the start of the current range. You can also use gt or gte.

--end <key-pattern>

Specify the end of the current range. You can also use lt and lte.

--values

Only list the all of the values in the current range. Emit as a new-line delimited stream of json.

--keys

Only list all of the keys in the current range. Will tabularize the output.

--keyEncoding <string>

Specify the encoding for the keys.

--valueEncoding <string>

Specify the encoding for the values.

--limit <number>

Limit the number of records emitted in the current range.

--reverse

Reverse the stream.

lev's People

Contributors

bobek-balinek avatar brycebaril avatar feross avatar fritzy avatar gitter-badger avatar heapwolf avatar juliangruber avatar no9 avatar ralphtheninja avatar remoe avatar robertkowalski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lev's Issues

TUI on windows?

Does anyone know how to run TUI on windows? The default console (cmd.exe) doesn't support it.

Use Vorpal in place of home grown REPL

I just wanted to let you know about Vorpal. It is a awesome REPL library that looks like it might make this cli a lot simpler. From what I can tell it should support all the features you need, and even make implementing some of your open issues really easy.

Thanks for making this, it has been super useful for debugging a recent project that uses leveldb.

Encodings

So this issue was raised in levelweb

https://github.com/hij1nx/levelweb/issues/28#issuecomment-21677266

And this is the current status in lev
https://github.com/hij1nx/lev/blob/master/lev#L61

Rather than

if (argv.encoding) {
  argv.keyEncoding = argv.encoding
  argv.valueEncoding = argv.encoding
}

I would suggest

if (argv.encoding) {
  console.log("Single encoding is not allowed please state  keyEncoding & valueEncoding") 
}

if(!argv.keyEncoding) { 
   argv.keyEncoding = 'utf-8'
}

if(!argv.valueEncoding) {
   argv.valueEncoding = 'json'
}

windows: Error: ENOENT, no such file or directory 'data\undefined\.lev'

When one start "lev" at first in a leveldb database directory it throws:

data>lev

fs.js:427
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^
Error: ENOENT, no such file or directory 'data\undefined\.lev'
    at Object.fs.openSync (fs.js:427:18)
    at Object.fs.writeFileSync (fs.js:966:15)
    at Object.exports.readConfig (data\node_modules\lev\lib\utils.js:19:8)

It runs after creating this file 'undefinded/.lev'. But this is annoying.

default config

Imagine having a project at ~/projects/foo/ and a db at ~/projects/foo/db. It would be cool if you could place a .lev.json into the project's folder and lev would automatically use that.

If there's no .lev.json it should try going up the directory tree until it hits ~/.

REPL help

.help in the repl should include the output from optimist.help().

multilevel server manifests, for sublevel support

When connecting by port to a multilevel server that has sublevels, it would be nice to have the client read a manifest.json (produced by level-manifest) so the sublevels work correctly.

If this makes sense I can implement.

prompt for empty leveldb

I've so far gathered that lev can be used in interactive and non-interactive workflows. For interactive workflows, can we consider asking the user whether to auto create the level db? The first time I tried lev I was surprised to find left over leveldb artifacts in my cwd (${HOME}) ;-)

support working with bitcoin blockchain leveldb

Is there is support working with bitcoin blockchain leveldb
produced by BTCD https://github.com/conformal/btcd ?

when im` trying to open db:

lev ~/.btcd/data/mainnet/blocks_leveldb --keys --limit 10

lev version 2.1.4
level version 0.18.0

value encoding set to JSON
key encoding set to UTF8

/usr/local/lib/node_modules/lev/lev:72
throw err
^
TypeError: Cannot call method 'map' of null
at Tree.addKey (/usr/local/lib/node_modules/lev/node_modules/level-subtree/index.js:58:7)
at ReadStream. (/usr/local/lib/node_modules/lev/node_modules/level-subtree/index.js:41:24)
at ReadStream.emit (events.js:95:17)
at ReadStream. (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/stream_readable.js:786:14)
at ReadStream.emit (events.js:92:17)
at emitReadable
(/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:448:10)
at emitReadable (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:444:5)
at readableAddChunk (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:187:9)
at ReadStream.Readable.push (/usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:149:10)
at /usr/local/lib/node_modules/lev/node_modules/level/node_modules/level-packager/node_modules/levelup/lib/read-stream.js:94:12

Let me know if there is a workaround to open this DB?
Thank you.

Error: Cannot find module

internal/modules/cjs/loader.js:583
throw err;
^

Error: Cannot find module 'C:\Users\Asus\AppData\Roaming\npm\node_modules\lev\bin\lev'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:282:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)

Any solution for this?

REPL server

That you can connect remote or browser clients to.

That way you can read remote databases or browser databases (as long as levelup compliant) from the terminal.

can't install on Ubuntu 14.04

I'm getting the following on Ubuntu 14.04 for npm install lev:

> [email protected] install /usr/local/google/home/poertel/ldb/node_modules/lev/node_modules/level/node_modules/leveldown
> prebuild --install

npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! weird error 1
npm ERR! not ok code 0

Since I'm not making any explicit reference to node vs nodejs (both packages are installed), I wonder if this is something that needs to be fixed in the package definition?

Windows 8 install

Hi

Should lev work on Windows? I am getting pretty catastrophic fail when I try to install from npm.

Other node level things install OK

F

purpose

How do you use this?

As only one process can get hold of a leveldb instance at a time this would mean that none of the databases must be in use, or am I wrong here?

Shorthand options fail

So

'-p', test_key3, test_value3

Should be short hand for

--put test_key3, --value test_value3 --format,false,--encoding,utf8

when deleting validate against key cache

Because db.del(key, fn) doesn't return an error when the key doesn't exist, the repo prints OK on deleting an unknown key. But since lev has the key cache it can check if the key actually exists and be nicer than level up.

Just freezes

I tried to use it with an indexeddb directory from a chrominum browser embedded in some app. Trying to list keys, either with --keys or with ls, it just freezes forever. No error message, no output, no nothing.

Problem with the REPL

alessio@alessioalex:~/www/levlit$ lev tmp/gw.db/                                                  

compression = true                                                                                
encoding = json                                                                                   
keyEncoding = json                                                                                
valueEncoding = json                                                                              
levelup version = 0.8.0                                                                           

tmp/gw.db/>                                                                                       
EncodingError: Unexpected token a 

The db is ok, because I write / read data to it and everything works fine, but cannot get the REPL or actually lev to work (lev --read ..etc).

I'm using Node v0.8.19

Can't install on Mac

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/lev/node_modules/leveldown
npm ERR! command failed
npm ERR! command sh -c prebuild-install || node-gyp rebuild
npm ERR! CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/builder.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/db_impl.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/db_iter.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/filename.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/dbformat.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/log_reader.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/log_writer.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/memtable.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/repair.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/table_cache.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/version_edit.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/version_set.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/write_batch.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/helpers/memenv/memenv.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/port/port_posix_sse.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/block.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/block_builder.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/filter_block.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/format.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/iterator.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/merger.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/table.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/table_builder.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/two_level_iterator.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/arena.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/bloom.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/cache.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/coding.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/comparator.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/crc32c.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/env.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/filter_policy.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/hash.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/logging.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/options.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/status.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/port/port_posix.o
npm ERR!   CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/env_posix.o
npm ERR!   LIBTOOL-STATIC Release/leveldb.a
npm ERR!   CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.4/snappy-sinksource.o
npm ERR!   CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.4/snappy-stubs-internal.o
npm ERR!   CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.4/snappy.o
npm ERR!   LIBTOOL-STATIC Release/snappy.a
npm ERR!   CXX(target) Release/obj.target/leveldown/src/batch.o
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | x64
npm ERR! gyp info find Python using Python version 3.9.0 found at "/Library/Frameworks/Python.framework/Versions/3.9/bin/python3"
npm ERR! (node:21820) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
npm ERR! gyp info spawn /Library/Frameworks/Python.framework/Versions/3.9/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/lev/node_modules/leveldown/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/VITA/Library/Caches/node-gyp/16.10.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/Users/VITA/Library/Caches/node-gyp/16.10.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/usr/local/lib/node_modules/lev/node_modules/leveldown',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
npm ERR! 
npm ERR! No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
npm ERR! 
npm ERR! No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
npm ERR! 
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/builder.cc:7:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/filename.h:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/db_impl.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/db_impl.h:10:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/dbformat.h:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/db_iter.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/db_iter.h:10:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/dbformat.h:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/filename.cc:7:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/filename.h:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/dbformat.cc:6:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/dbformat.h:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/log_reader.cc:9:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/log_writer.cc:9:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/memtable.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/memtable.h:10:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/dbformat.h:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/repair.cc:28:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/db_impl.h:10:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/dbformat.h:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/table_cache.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/table_cache.h:12:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/dbformat.h:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/version_edit.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/version_edit.h:11:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/dbformat.h:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/version_set.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/version_set.h:21:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/dbformat.h:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/write_batch.cc:19:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/db/dbformat.h:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/helpers/memenv/memenv.cc:9:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix_sse.cc:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/table/block.cc:13:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/table/block_builder.cc:35:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/table/filter_block.cc:8:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/table/format.cc:8:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/table/table.cc:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/table/table_builder.cc:15:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/arena.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/arena.h:12:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/cache.cc:10:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/comparator.cc:9:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/crc32c.cc:12:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/hash.cc:6:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/coding.h:17:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/logging.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/logging.h:14:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/status.cc:6:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.cc:5:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/util/env_posix.cc:24:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port.h:16:
npm ERR! In file included from ../deps/leveldb/leveldb-1.20/port/port_posix.h:47:
npm ERR! ../deps/leveldb/leveldb-1.20/port/atomic_pointer.h:59:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
npm ERR!   OSMemoryBarrier();
npm ERR!   ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
npm ERR! void    OSMemoryBarrier( void );
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! In file included from ../../nan/nan.h:192:
npm ERR! ../../nan/nan_maybe_43_inl.h:112:15: error: no member named 'ForceSet' in 'v8::Object'
npm ERR!   return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
npm ERR!          ~~~  ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! In file included from ../../nan/nan.h:197:
npm ERR! In file included from ../../nan/nan_converters.h:59:
npm ERR! ../../nan/nan_converters_43_inl.h:22:1: error: no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *'
npm ERR! X(Boolean)
npm ERR! ^~~~~~~~~~
npm ERR! ../../nan/nan_converters_43_inl.h:18:23: note: expanded from macro 'X'
npm ERR!       val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext())          \
npm ERR!                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3086:37: note: passing argument to parameter 'isolate' here
npm ERR!   Local<Boolean> ToBoolean(Isolate* isolate) const;
npm ERR!                                     ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! In file included from ../../nan/nan.h:197:
npm ERR! In file included from ../../nan/nan_converters.h:59:
npm ERR! ../../nan/nan_converters_43_inl.h:40:1: error: no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *'
npm ERR! X(bool, Boolean)
npm ERR! ^~~~~~~~~~~~~~~~
npm ERR! ../../nan/nan_converters_43_inl.h:37:29: note: expanded from macro 'X'
npm ERR!   return val->NAME ## Value(isolate->GetCurrentContext());                     \
npm ERR!                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3096:30: note: passing argument to parameter 'isolate' here
npm ERR!   bool BooleanValue(Isolate* isolate) const;
npm ERR!                              ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! In file included from ../../nan/nan.h:198:
npm ERR! In file included from ../../nan/nan_new.h:189:
npm ERR! ../../nan/nan_implementation_12_inl.h:103:42: error: no viable conversion from 'v8::Isolate *' to 'Local<v8::Context>'
npm ERR!   return scope.Escape(v8::Function::New( isolate
npm ERR!                                          ^~~~~~~
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:200:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Isolate *' to 'const v8::Local<v8::Context> &' for 1st argument
npm ERR! class Local {
npm ERR!       ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:200:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Isolate *' to 'v8::Local<v8::Context> &&' for 1st argument
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:204:13: note: candidate template ignored: could not match 'Local<type-parameter-0-0>' against 'v8::Isolate *'
npm ERR!   V8_INLINE Local(Local<S> that)
npm ERR!             ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:4752:22: note: passing argument to parameter 'context' here
npm ERR!       Local<Context> context, FunctionCallback callback,
npm ERR!                      ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! In file included from ../../nan/nan.h:198:
npm ERR! In file included from ../../nan/nan_new.h:189:
npm ERR! ../../nan/nan_implementation_12_inl.h:337:37: error: too few arguments to function call, expected 2, have 1
npm ERR!   return v8::StringObject::New(value).As<v8::StringObject>();
npm ERR!          ~~~~~~~~~~~~~~~~~~~~~      ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:6194:3: note: 'New' declared here
npm ERR!   static Local<Value> New(Isolate* isolate, Local<String> value);
npm ERR!   ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! ../../nan/nan.h:834:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
npm ERR!     return node::MakeCallback(
npm ERR!                  ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/node.h:183:1: note: 'MakeCallback' has been explicitly marked deprecated here
npm ERR! NODE_DEPRECATED("Use MakeCallback(..., async_context)",
npm ERR! ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/node.h:101:20: note: expanded from macro 'NODE_DEPRECATED'
npm ERR!     __attribute__((deprecated(message))) declarator
npm ERR!                    ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! ../../nan/nan.h:849:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
npm ERR!     return node::MakeCallback(
npm ERR!                  ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/node.h:176:1: note: 'MakeCallback' has been explicitly marked deprecated here
npm ERR! NODE_DEPRECATED("Use MakeCallback(..., async_context)",
npm ERR! ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/node.h:101:20: note: expanded from macro 'NODE_DEPRECATED'
npm ERR!     __attribute__((deprecated(message))) declarator
npm ERR!                    ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! ../../nan/nan.h:864:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
npm ERR!     return node::MakeCallback(
npm ERR!                  ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/node.h:169:1: note: 'MakeCallback' has been explicitly marked deprecated here
npm ERR! NODE_DEPRECATED("Use MakeCallback(..., async_context)",
npm ERR! ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/node.h:101:20: note: expanded from macro 'NODE_DEPRECATED'
npm ERR!     __attribute__((deprecated(message))) declarator
npm ERR!                    ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! ../../nan/nan.h:911:53: error: too few arguments to function call, single argument 'context' was not specified
npm ERR!       v8::Local<v8::String> string = from->ToString();
npm ERR!                                      ~~~~~~~~~~~~~~ ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3048:3: note: 'ToString' declared here
npm ERR!   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
npm ERR!   ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8config.h:446:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
npm ERR! #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
npm ERR!                               ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! ../../nan/nan.h:921:37: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'char *'
npm ERR!         length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
npm ERR!                                     ^~~~
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3277:26: note: passing argument to parameter 'isolate' here
npm ERR!   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
npm ERR!                          ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! ../../nan/nan.h:1473:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
npm ERR!     return scope.Escape(node::MakeCallback(
npm ERR!                               ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/node.h:183:1: note: 'MakeCallback' has been explicitly marked deprecated here
npm ERR! NODE_DEPRECATED("Use MakeCallback(..., async_context)",
npm ERR! ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/node.h:101:20: note: expanded from macro 'NODE_DEPRECATED'
npm ERR!     __attribute__((deprecated(message))) declarator
npm ERR!                    ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! ../../nan/nan.h:1533:28: error: no matching member function for call to 'Set'
npm ERR!     New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
npm ERR!     ~~~~~~~~~~~~~~~~~~~~~~~^~~
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3961:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR!   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!                                     ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3964:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR!   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!                                     ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! ../../nan/nan.h:1539:28: error: no matching member function for call to 'Set'
npm ERR!     New(persistentHandle)->Set(key, value);
npm ERR!     ~~~~~~~~~~~~~~~~~~~~~~~^~~
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3961:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR!   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!                                     ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3964:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR!   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!                                     ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! ../../nan/nan.h:1545:28: error: no matching member function for call to 'Set'
npm ERR!     New(persistentHandle)->Set(index, value);
npm ERR!     ~~~~~~~~~~~~~~~~~~~~~~~^~~
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3961:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR!   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!                                     ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3964:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR!   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!                                     ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! ../../nan/nan.h:1551:32: error: no matching member function for call to 'Get'
npm ERR!         New(persistentHandle)->Get(New(key).ToLocalChecked()));
npm ERR!         ~~~~~~~~~~~~~~~~~~~~~~~^~~
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:4007:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR!   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!                                           ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:4010:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR!   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!                                           ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! ../../nan/nan.h:1557:48: error: no matching member function for call to 'Get'
npm ERR!     return scope.Escape(New(persistentHandle)->Get(key));
npm ERR!                         ~~~~~~~~~~~~~~~~~~~~~~~^~~
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:4007:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR!   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!                                           ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:4010:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR!   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!                                           ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! ../../nan/nan.h:1562:48: error: no matching member function for call to 'Get'
npm ERR!     return scope.Escape(New(persistentHandle)->Get(index));
npm ERR!                         ~~~~~~~~~~~~~~~~~~~~~~~^~~
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:4007:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR!   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!                                           ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:4010:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
npm ERR!   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!                                           ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! In file included from ../../nan/nan.h:2222:
npm ERR! ../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
npm ERR!     assert(persistent().IsNearDeath());
npm ERR!            ~~~~~~~~~~~~ ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
npm ERR!     (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
npm ERR!                         ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! In file included from ../../nan/nan.h:2222:
npm ERR! ../../nan/nan_object_wrap.h:67:18: error: no member named 'MarkIndependent' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
npm ERR!     persistent().MarkIndependent();
npm ERR!     ~~~~~~~~~~~~ ^
npm ERR! ../../nan/nan_object_wrap.h:124:26: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
npm ERR!     assert(wrap->handle_.IsNearDeath());
npm ERR!            ~~~~~~~~~~~~~ ^
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
npm ERR!     (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
npm ERR!                         ^
npm ERR! In file included from ../src/batch.cc:3:
npm ERR! In file included from ../../nan/nan.h:2313:
npm ERR! ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
npm ERR!       data   = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
npm ERR!                                           ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:5612:3: note: 'GetContents' has been explicitly marked deprecated here
npm ERR!   V8_DEPRECATED("Use GetBackingStore. See http://crbug.com/v8/9908.")
npm ERR!   ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8config.h:409:35: note: expanded from macro 'V8_DEPRECATED'
npm ERR! # define V8_DEPRECATED(message) [[deprecated(message)]]
npm ERR!                                   ^
npm ERR! In file included from ../src/batch.cc:5:
npm ERR! In file included from ../src/database.h:18:
npm ERR! ../src/leveldown.h:16:26: error: too few arguments to function call, single argument 'context' was not specified
npm ERR!   return (!obj->ToObject().IsEmpty()
npm ERR!            ~~~~~~~~~~~~~ ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3060:3: note: 'ToObject' declared here
npm ERR!   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
npm ERR!   ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8config.h:446:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
npm ERR! #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
npm ERR!                               ^
npm ERR! In file included from ../src/batch.cc:5:
npm ERR! In file included from ../src/database.h:18:
npm ERR! ../src/leveldown.h:17:48: error: too few arguments to function call, single argument 'context' was not specified
npm ERR!     && node::Buffer::HasInstance(obj->ToObject()))
npm ERR!                                  ~~~~~~~~~~~~~ ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3060:3: note: 'ToObject' declared here
npm ERR!   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
npm ERR!   ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8config.h:446:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
npm ERR! #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
npm ERR!                               ^
npm ERR! In file included from ../src/batch.cc:5:
npm ERR! In file included from ../src/database.h:18:
npm ERR! ../src/leveldown.h:18:42: error: too few arguments to function call, single argument 'context' was not specified
npm ERR!     ? node::Buffer::Length(obj->ToObject())
npm ERR!                            ~~~~~~~~~~~~~ ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8.h:3060:3: note: 'ToObject' declared here
npm ERR!   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
npm ERR!   ^
npm ERR! /Users/VITA/Library/Caches/node-gyp/16.10.0/include/node/v8config.h:446:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
npm ERR! #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
npm ERR!                               ^
npm ERR! fatal error: too many errors emitted, stopping now [-ferror-limit=]
npm ERR! 5 warnings and 20 errors generated.
npm ERR! make: *** [Release/obj.target/leveldown/src/batch.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Darwin 20.5.0
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /usr/local/lib/node_modules/lev/node_modules/leveldown
npm ERR! gyp ERR! node -v v16.10.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/VITA/.npm/_logs/2021-11-02T16_15_08_706Z-debug.log

key cache and big dbs

When opening a rather large db it can take >10s before you get to the repl, and I assume that is because the key cache is built on startup. Would be nice to add an option to disable that, or to build key caches while entering sublevels.

Missing 'cd' command

Line 85 in lev.js

var allCommands = ['get', 'delr', 'limit', 'keys', 'start', 'end', 'tree'] should be

var allCommands = ['get', 'delr', 'limit', 'keys', 'start', 'end', 'tree', 'cd']

Only works with Node 8

Had troubles with make step when building on any version of node after 8. I had to nvm use 8 to get it to work.

Option to pretty-print json?

I mostly use leveldb to store json. It'd be nice if the REPL could detect the value is json and pretty-print it.

Cant get PUT to work in REPL mode

I cant PUT anything into the database in REPL mode.

I am doing this: PUT mykey mycoolvalue

How do you put entries into the database?

can't connect through TUI

TUI doesn't work for me. I'm using secure shell in chrome. I'm stuck on the connect dialog. I can edit fields and the create button works, but neither the save nor connect buttons do anything. lev . works. How can I troubleshoot this?

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.