heapwolf / lev

The complete REPL & CLI for managing LevelDB instances.
MIT License
296 stars 36 forks source link

Can't install on Mac #62

Open VityaSchel opened 2 years ago

VityaSchel commented 2 years ago
npm WARN deprecated minimatch@2.0.10: 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 node-gyp@7.1.2
npm ERR! gyp info using node@16.10.0 | 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
fabiobozzo commented 8 months ago

No answers in 2 years?! Useless package 😴

VityaSchel commented 8 months ago

No answers in 2 years?! Useless package 😴

do better version. go open pull request