Coder Social home page Coder Social logo

level-rocksdb's Introduction

level

Universal abstract-level database for Node.js and browsers. This is a convenience package that exports classic-level in Node.js and browser-level in browsers, making it an ideal entry point to start creating lexicographically sorted key-value databases.

๐Ÿ“Œ Which module should I use? What is abstract-level? Head over to the FAQ.

level badge npm Node version Test Coverage Standard Common Changelog Community Donate

Table of Contents

Click to expand

Usage

If you are upgrading: please see UPGRADING.md.

const { Level } = require('level')

// Create a database
const db = new Level('example', { valueEncoding: 'json' })

// Add an entry with key 'a' and value 1
await db.put('a', 1)

// Add multiple entries
await db.batch([{ type: 'put', key: 'b', value: 2 }])

// Get value of key 'a': 1
const value = await db.get('a')

// Iterate entries with keys that are greater than 'a'
for await (const [key, value] of db.iterator({ gt: 'a' })) {
  console.log(value) // 2
}

All asynchronous methods also support callbacks.

Callback example
db.put('a', { x: 123 }, function (err) {
  if (err) throw err

  db.get('a', function (err, value) {
    console.log(value) // { x: 123 }
  })
})

TypeScript type declarations are included and cover the methods that are common between classic-level and browser-level. Usage from TypeScript requires generic type parameters.

TypeScript example
// Specify types of keys and values (any, in the case of json).
// The generic type parameters default to Level<string, string>.
const db = new Level<string, any>('./db', { valueEncoding: 'json' })

// All relevant methods then use those types
await db.put('a', { x: 123 })

// Specify different types when overriding encoding per operation
await db.get<string, string>('a', { valueEncoding: 'utf8' })

// Though in some cases TypeScript can infer them
await db.get('a', { valueEncoding: db.valueEncoding('utf8') })

// It works the same for sublevels
const abc = db.sublevel('abc')
const xyz = db.sublevel<string, any>('xyz', { valueEncoding: 'json' })

Install

With npm do:

npm install level

For use in browsers, this package is best used with browserify, webpack, rollup or similar bundlers. For a quick start, visit browserify-starter or webpack-starter.

Supported Platforms

At the time of writing, level works in Node.js 12+ and Electron 5+ on Linux, Mac OS, Windows and FreeBSD, including any future Node.js and Electron release thanks to Node-API, including ARM platforms like Raspberry Pi and Android, as well as in Chrome, Firefox, Edge, Safari, iOS Safari and Chrome for Android. For details, see Supported Platforms of classic-level and Browser Support of browser-level.

Binary keys and values are supported across the board.

API

The API of level follows that of abstract-level. The documentation below covers it all except for Encodings, Events and Errors which are exclusively documented in abstract-level. For options and additional methods specific to classic-level and browser-level, please see their respective READMEs.

An abstract-level and thus level database is at its core a key-value database. A key-value pair is referred to as an entry here and typically returned as an array, comparable to Object.entries().

db = new Level(location[, options])

Create a new database or open an existing database. The location argument must be a directory path (relative or absolute) where LevelDB will store its files, or in browsers, the name of the IDBDatabase to be opened.

The optional options object may contain:

  • keyEncoding (string or object, default 'utf8'): encoding to use for keys
  • valueEncoding (string or object, default 'utf8'): encoding to use for values.

See Encodings for a full description of these options. Other options (except passive) are forwarded to db.open() which is automatically called in a next tick after the constructor returns. Any read & write operations are queued internally until the database has finished opening. If opening fails, those queued operations will yield errors.

db.status

Read-only getter that returns a string reflecting the current state of the database:

  • 'opening' - waiting for the database to be opened
  • 'open' - successfully opened the database
  • 'closing' - waiting for the database to be closed
  • 'closed' - successfully closed the database.

db.open([callback])

Open the database. The callback function will be called with no arguments when successfully opened, or with a single error argument if opening failed. If no callback is provided, a promise is returned. Options passed to open() take precedence over options passed to the database constructor. The createIfMissing and errorIfExists options are not supported by browser-level.

The optional options object may contain:

  • createIfMissing (boolean, default: true): If true, create an empty database if one doesn't already exist. If false and the database doesn't exist, opening will fail.
  • errorIfExists (boolean, default: false): If true and the database already exists, opening will fail.
  • passive (boolean, default: false): Wait for, but do not initiate, opening of the database.

It's generally not necessary to call open() because it's automatically called by the database constructor. It may however be useful to capture an error from failure to open, that would otherwise not surface until another method like db.get() is called. It's also possible to reopen the database after it has been closed with close(). Once open() has then been called, any read & write operations will again be queued internally until opening has finished.

The open() and close() methods are idempotent. If the database is already open, the callback will be called in a next tick. If opening is already in progress, the callback will be called when that has finished. If closing is in progress, the database will be reopened once closing has finished. Likewise, if close() is called after open(), the database will be closed once opening has finished and the prior open() call will receive an error.

db.close([callback])

Close the database. The callback function will be called with no arguments if closing succeeded or with a single error argument if closing failed. If no callback is provided, a promise is returned.

A database may have associated resources like file handles and locks. When the database is no longer needed (for the remainder of a program) it's recommended to call db.close() to free up resources.

After db.close() has been called, no further read & write operations are allowed unless and until db.open() is called again. For example, db.get(key) will yield an error with code LEVEL_DATABASE_NOT_OPEN. Any unclosed iterators or chained batches will be closed by db.close() and can then no longer be used even when db.open() is called again.

db.supports

A manifest describing the features supported by this database. Might be used like so:

if (!db.supports.permanence) {
  throw new Error('Persistent storage is required')
}

db.get(key[, options][, callback])

Get a value from the database by key. The optional options object may contain:

  • keyEncoding: custom key encoding for this operation, used to encode the key.
  • valueEncoding: custom value encoding for this operation, used to decode the value.

The callback function will be called with an error if the operation failed. If the key was not found, the error will have code LEVEL_NOT_FOUND. If successful the first argument will be null and the second argument will be the value. If no callback is provided, a promise is returned.

db.getMany(keys[, options][, callback])

Get multiple values from the database by an array of keys. The optional options object may contain:

  • keyEncoding: custom key encoding for this operation, used to encode the keys.
  • valueEncoding: custom value encoding for this operation, used to decode values.

The callback function will be called with an error if the operation failed. If successful the first argument will be null and the second argument will be an array of values with the same order as keys. If a key was not found, the relevant value will be undefined. If no callback is provided, a promise is returned.

db.put(key, value[, options][, callback])

Add a new entry or overwrite an existing entry. The optional options object may contain:

  • keyEncoding: custom key encoding for this operation, used to encode the key.
  • valueEncoding: custom value encoding for this operation, used to encode the value.

The callback function will be called with no arguments if the operation was successful or with an error if it failed. If no callback is provided, a promise is returned.

db.del(key[, options][, callback])

Delete an entry by key. The optional options object may contain:

  • keyEncoding: custom key encoding for this operation, used to encode the key.

The callback function will be called with no arguments if the operation was successful or with an error if it failed. If no callback is provided, a promise is returned.

db.batch(operations[, options][, callback])

Perform multiple put and/or del operations in bulk. The operations argument must be an array containing a list of operations to be executed sequentially, although as a whole they are performed as an atomic operation.

Each operation must be an object with at least a type property set to either 'put' or 'del'. If the type is 'put', the operation must have key and value properties. It may optionally have keyEncoding and / or valueEncoding properties to encode keys or values with a custom encoding for just that operation. If the type is 'del', the operation must have a key property and may optionally have a keyEncoding property.

An operation of either type may also have a sublevel property, to prefix the key of the operation with the prefix of that sublevel. This allows atomically committing data to multiple sublevels. Keys and values will be encoded by the sublevel, to the same effect as a sublevel.batch(..) call. In the following example, the first value will be encoded with 'json' rather than the default encoding of db:

const people = db.sublevel('people', { valueEncoding: 'json' })
const nameIndex = db.sublevel('names')

await db.batch([{
  type: 'put',
  sublevel: people,
  key: '123',
  value: {
    name: 'Alice'
  }
}, {
  type: 'put',
  sublevel: nameIndex,
  key: 'Alice',
  value: '123'
}])

The optional options object may contain:

  • keyEncoding: custom key encoding for this batch, used to encode keys.
  • valueEncoding: custom value encoding for this batch, used to encode values.

Encoding properties on individual operations take precedence. In the following example, the first value will be encoded with the 'utf8' encoding and the second with 'json'.

await db.batch([
  { type: 'put', key: 'a', value: 'foo' },
  { type: 'put', key: 'b', value: 123, valueEncoding: 'json' }
], { valueEncoding: 'utf8' })

The callback function will be called with no arguments if the batch was successful or with an error if it failed. If no callback is provided, a promise is returned.

chainedBatch = db.batch()

Create a chained batch, when batch() is called with zero arguments. A chained batch can be used to build and eventually commit an atomic batch of operations. Depending on how it's used, it is possible to obtain greater performance with this form of batch(). On browser-level however, it is just sugar.

await db.batch()
  .del('bob')
  .put('alice', 361)
  .put('kim', 220)
  .write()

iterator = db.iterator([options])

Create an iterator. The optional options object may contain the following range options to control the range of entries to be iterated:

  • gt (greater than) or gte (greater than or equal): define the lower bound of the range to be iterated. Only entries where the key is greater than (or equal to) this option will be included in the range. When reverse is true the order will be reversed, but the entries iterated will be the same.
  • lt (less than) or lte (less than or equal): define the higher bound of the range to be iterated. Only entries where the key is less than (or equal to) this option will be included in the range. When reverse is true the order will be reversed, but the entries iterated will be the same.
  • reverse (boolean, default: false): iterate entries in reverse order. Beware that a reverse seek can be slower than a forward seek.
  • limit (number, default: Infinity): limit the number of entries yielded. This number represents a maximum number of entries and will not be reached if the end of the range is reached first. A value of Infinity or -1 means there is no limit. When reverse is true the entries with the highest keys will be returned instead of the lowest keys.

The gte and lte range options take precedence over gt and lt respectively. If no range options are provided, the iterator will visit all entries of the database, starting at the lowest key and ending at the highest key (unless reverse is true). In addition to range options, the options object may contain:

  • keys (boolean, default: true): whether to return the key of each entry. If set to false, the iterator will yield keys that are undefined. Prefer to use db.keys() instead.
  • values (boolean, default: true): whether to return the value of each entry. If set to false, the iterator will yield values that are undefined. Prefer to use db.values() instead.
  • keyEncoding: custom key encoding for this iterator, used to encode range options, to encode seek() targets and to decode keys.
  • valueEncoding: custom value encoding for this iterator, used to decode values.

๐Ÿ“Œ To instead consume data using streams, see level-read-stream and level-web-stream.

keyIterator = db.keys([options])

Create a key iterator, having the same interface as db.iterator() except that it yields keys instead of entries. If only keys are needed, using db.keys() may increase performance because values won't have to fetched, copied or decoded. Options are the same as for db.iterator() except that db.keys() does not take keys, values and valueEncoding options.

// Iterate lazily
for await (const key of db.keys({ gt: 'a' })) {
  console.log(key)
}

// Get all at once. Setting a limit is recommended.
const keys = await db.keys({ gt: 'a', limit: 10 }).all()

valueIterator = db.values([options])

Create a value iterator, having the same interface as db.iterator() except that it yields values instead of entries. If only values are needed, using db.values() may increase performance because keys won't have to fetched, copied or decoded. Options are the same as for db.iterator() except that db.values() does not take keys and values options. Note that it does take a keyEncoding option, relevant for the encoding of range options.

// Iterate lazily
for await (const value of db.values({ gt: 'a' })) {
  console.log(value)
}

// Get all at once. Setting a limit is recommended.
const values = await db.values({ gt: 'a', limit: 10 }).all()

db.clear([options][, callback])

Delete all entries or a range. Not guaranteed to be atomic. Accepts the following options (with the same rules as on iterators):

  • gt (greater than) or gte (greater than or equal): define the lower bound of the range to be deleted. Only entries where the key is greater than (or equal to) this option will be included in the range. When reverse is true the order will be reversed, but the entries deleted will be the same.
  • lt (less than) or lte (less than or equal): define the higher bound of the range to be deleted. Only entries where the key is less than (or equal to) this option will be included in the range. When reverse is true the order will be reversed, but the entries deleted will be the same.
  • reverse (boolean, default: false): delete entries in reverse order. Only effective in combination with limit, to delete the last N entries.
  • limit (number, default: Infinity): limit the number of entries to be deleted. This number represents a maximum number of entries and will not be reached if the end of the range is reached first. A value of Infinity or -1 means there is no limit. When reverse is true the entries with the highest keys will be deleted instead of the lowest keys.
  • keyEncoding: custom key encoding for this operation, used to encode range options.

The gte and lte range options take precedence over gt and lt respectively. If no options are provided, all entries will be deleted. The callback function will be called with no arguments if the operation was successful or with an error if it failed. If no callback is provided, a promise is returned.

sublevel = db.sublevel(name[, options])

Create a sublevel that has the same interface as db (except for additional methods specific to classic-level or browser-level) and prefixes the keys of operations before passing them on to db. The name argument is required and must be a string.

const example = db.sublevel('example')

await example.put('hello', 'world')
await db.put('a', '1')

// Prints ['hello', 'world']
for await (const [key, value] of example.iterator()) {
  console.log([key, value])
}

Sublevels effectively separate a database into sections. Think SQL tables, but evented, ranged and real-time! Each sublevel is an AbstractLevel instance with its own keyspace, events and encodings. For example, it's possible to have one sublevel with 'buffer' keys and another with 'utf8' keys. The same goes for values. Like so:

db.sublevel('one', { valueEncoding: 'json' })
db.sublevel('two', { keyEncoding: 'buffer' })

An own keyspace means that sublevel.iterator() only includes entries of that sublevel, sublevel.clear() will only delete entries of that sublevel, and so forth. Range options get prefixed too.

Fully qualified keys (as seen from the parent database) take the form of prefix + key where prefix is separator + name + separator. If name is empty, the effective prefix is two separators. Sublevels can be nested: if db is itself a sublevel then the effective prefix is a combined prefix, e.g. '!one!!two!'. Note that a parent database will see its own keys as well as keys of any nested sublevels:

// Prints ['!example!hello', 'world'] and ['a', '1']
for await (const [key, value] of db.iterator()) {
  console.log([key, value])
}

๐Ÿ“Œ The key structure is equal to that of subleveldown which offered sublevels before they were built-in to abstract-level. This means that an abstract-level sublevel can read sublevels previously created with (and populated by) subleveldown.

Internally, sublevels operate on keys that are either a string, Buffer or Uint8Array, depending on parent database and choice of encoding. Which is to say: binary keys are fully supported. The name must however always be a string and can only contain ASCII characters.

The optional options object may contain:

  • separator (string, default: '!'): Character for separating sublevel names from user keys and each other. Must sort before characters used in name. An error will be thrown if that's not the case.
  • keyEncoding (string or object, default 'utf8'): encoding to use for keys
  • valueEncoding (string or object, default 'utf8'): encoding to use for values.

The keyEncoding and valueEncoding options are forwarded to the AbstractLevel constructor and work the same, as if a new, separate database was created. They default to 'utf8' regardless of the encodings configured on db. Other options are forwarded too but abstract-level (and therefor level) has no relevant options at the time of writing. For example, setting the createIfMissing option will have no effect. Why is that?

Like regular databases, sublevels open themselves but they do not affect the state of the parent database. This means a sublevel can be individually closed and (re)opened. If the sublevel is created while the parent database is opening, it will wait for that to finish. If the parent database is closed, then opening the sublevel will fail and subsequent operations on the sublevel will yield errors with code LEVEL_DATABASE_NOT_OPEN.

chainedBatch

chainedBatch.put(key, value[, options])

Queue a put operation on this batch, not committed until write() is called. This will throw a LEVEL_INVALID_KEY or LEVEL_INVALID_VALUE error if key or value is invalid. The optional options object may contain:

  • keyEncoding: custom key encoding for this operation, used to encode the key.
  • valueEncoding: custom value encoding for this operation, used to encode the value.
  • sublevel (sublevel instance): act as though the put operation is performed on the given sublevel, to similar effect as sublevel.batch().put(key, value). This allows atomically committing data to multiple sublevels. The key will be prefixed with the prefix of the sublevel, and the key and value will be encoded by the sublevel (using the default encodings of the sublevel unless keyEncoding and / or valueEncoding are provided).

chainedBatch.del(key[, options])

Queue a del operation on this batch, not committed until write() is called. This will throw a LEVEL_INVALID_KEY error if key is invalid. The optional options object may contain:

  • keyEncoding: custom key encoding for this operation, used to encode the key.
  • sublevel (sublevel instance): act as though the del operation is performed on the given sublevel, to similar effect as sublevel.batch().del(key). This allows atomically committing data to multiple sublevels. The key will be prefixed with the prefix of the sublevel, and the key will be encoded by the sublevel (using the default key encoding of the sublevel unless keyEncoding is provided).

chainedBatch.clear()

Clear all queued operations on this batch.

chainedBatch.write([options][, callback])

Commit the queued operations for this batch. All operations will be written atomically, that is, they will either all succeed or fail with no partial commits.

There are no options (that are common between classic-level and browser-level). Note that write() does not take encoding options. Those can only be set on put() and del().

The callback function will be called with no arguments if the batch was successful or with an error if it failed. If no callback is provided, a promise is returned.

After write() or close() has been called, no further operations are allowed.

chainedBatch.close([callback])

Free up underlying resources. This should be done even if the chained batch has zero queued operations. Automatically called by write() so normally not necessary to call, unless the intent is to discard a chained batch without committing it. The callback function will be called with no arguments. If no callback is provided, a promise is returned. Closing the batch is an idempotent operation, such that calling close() more than once is allowed and makes no difference.

chainedBatch.length

The number of queued operations on the current batch.

chainedBatch.db

A reference to the database that created this chained batch.

iterator

An iterator allows one to lazily read a range of entries stored in the database. The entries will be sorted by keys in lexicographic order (in other words: byte order) which in short means key 'a' comes before 'b' and key '10' comes before '2'.

A classic-level iterator reads from a snapshot of the database, created at the time db.iterator() was called. This means the iterator will not see the data of simultaneous write operations. A browser-level iterator does not offer such guarantees, as is indicated by db.supports.snapshots. That property will be true in Node.js and false in browsers.

Iterators can be consumed with for await...of and iterator.all(), or by manually calling iterator.next() or nextv() in succession. In the latter case, iterator.close() must always be called. In contrast, finishing, throwing, breaking or returning from a for await...of loop automatically calls iterator.close(), as does iterator.all().

An iterator reaches its natural end in the following situations:

  • The end of the database has been reached
  • The end of the range has been reached
  • The last iterator.seek() was out of range.

An iterator keeps track of calls that are in progress. It doesn't allow concurrent next(), nextv() or all() calls (including a combination thereof) and will throw an error with code LEVEL_ITERATOR_BUSY if that happens:

// Not awaited and no callback provided
iterator.next()

try {
  // Which means next() is still in progress here
  iterator.all()
} catch (err) {
  console.log(err.code) // 'LEVEL_ITERATOR_BUSY'
}

for await...of iterator

Yields entries, which are arrays containing a key and value. The type of key and value depends on the options passed to db.iterator().

try {
  for await (const [key, value] of db.iterator()) {
    console.log(key)
  }
} catch (err) {
  console.error(err)
}

iterator.next([callback])

Advance to the next entry and yield that entry. If an error occurs, the callback function will be called with an error. Otherwise, the callback receives null, a key and a value. The type of key and value depends on the options passed to db.iterator(). If the iterator has reached its natural end, both key and value will be undefined.

If no callback is provided, a promise is returned for either an entry array (containing a key and value) or undefined if the iterator reached its natural end.

Note: iterator.close() must always be called once there's no intention to call next() or nextv() again. Even if such calls yielded an error and even if the iterator reached its natural end. Not closing the iterator will result in memory leaks and may also affect performance of other operations if many iterators are unclosed and each is holding a snapshot of the database.

iterator.nextv(size[, options][, callback])

Advance repeatedly and get at most size amount of entries in a single call. Can be faster than repeated next() calls. The size argument must be an integer and has a soft minimum of 1. There are no options at the moment.

If an error occurs, the callback function will be called with an error. Otherwise, the callback receives null and an array of entries, where each entry is an array containing a key and value. The natural end of the iterator will be signaled by yielding an empty array. If no callback is provided, a promise is returned.

const iterator = db.iterator()

while (true) {
  const entries = await iterator.nextv(100)

  if (entries.length === 0) {
    break
  }

  for (const [key, value] of entries) {
    // ..
  }
}

await iterator.close()

iterator.all([options][, callback])

Advance repeatedly and get all (remaining) entries as an array, automatically closing the iterator. Assumes that those entries fit in memory. If that's not the case, instead use next(), nextv() or for await...of. There are no options at the moment. If an error occurs, the callback function will be called with an error. Otherwise, the callback receives null and an array of entries, where each entry is an array containing a key and value. If no callback is provided, a promise is returned.

const entries = await db.iterator({ limit: 100 }).all()

for (const [key, value] of entries) {
  // ..
}

iterator.seek(target[, options])

Seek to the key closest to target. Subsequent calls to iterator.next(), nextv() or all() (including implicit calls in a for await...of loop) will yield entries with keys equal to or larger than target, or equal to or smaller than target if the reverse option passed to db.iterator() was true.

The optional options object may contain:

  • keyEncoding: custom key encoding, used to encode the target. By default the keyEncoding option of the iterator is used or (if that wasn't set) the keyEncoding of the database.

If range options like gt were passed to db.iterator() and target does not fall within that range, the iterator will reach its natural end.

iterator.close([callback])

Free up underlying resources. The callback function will be called with no arguments. If no callback is provided, a promise is returned. Closing the iterator is an idempotent operation, such that calling close() more than once is allowed and makes no difference.

If a next() ,nextv() or all() call is in progress, closing will wait for that to finish. After close() has been called, further calls to next() ,nextv() or all() will yield an error with code LEVEL_ITERATOR_NOT_OPEN.

iterator.db

A reference to the database that created this iterator.

iterator.count

Read-only getter that indicates how many keys have been yielded so far (by any method) excluding calls that errored or yielded undefined.

iterator.limit

Read-only getter that reflects the limit that was set in options. Greater than or equal to zero. Equals Infinity if no limit, which allows for easy math:

const hasMore = iterator.count < iterator.limit
const remaining = iterator.limit - iterator.count

keyIterator

A key iterator has the same interface as iterator except that its methods yield keys instead of entries. For the keyIterator.next(callback) method, this means that the callback will receive two arguments (an error and key) instead of three. Usage is otherwise the same.

valueIterator

A value iterator has the same interface as iterator except that its methods yield values instead of entries. For the valueIterator.next(callback) method, this means that the callback will receive two arguments (an error and value) instead of three. Usage is otherwise the same.

sublevel

A sublevel is an instance of the AbstractSublevel class, which extends AbstractLevel and thus has the same API as documented above. Sublevels have a few additional properties.

sublevel.prefix

Prefix of the sublevel. A read-only string property.

const example = db.sublevel('example')
const nested = example.sublevel('nested')

console.log(example.prefix) // '!example!'
console.log(nested.prefix) // '!example!!nested!'

sublevel.db

Parent database. A read-only property.

const example = db.sublevel('example')
const nested = example.sublevel('nested')

console.log(example.db === db) // true
console.log(nested.db === db) // true

Contributing

Level/level is an OPEN Open Source Project. This means that:

Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.

See the Contribution Guide for more details.

Donate

Support us with a monthly donation on Open Collective and help us continue our work.

License

MIT

level-rocksdb's People

Contributors

dependabot[bot] avatar greenkeeper[bot] avatar mcollina avatar ralphtheninja avatar rvagg avatar vweevers 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

level-rocksdb's Issues

An in-range update of rocksdb is breaking the build ๐Ÿšจ

The dependency rocksdb was updated from 3.0.1 to 3.0.2.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

rocksdb is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v3.0.2

Changed

Commits

The new version differs by 18 commits.

  • 7b4e85f 3.0.2
  • fe80ebd Prepare 3.0.2
  • f53b445 Merge pull request #79 from filoozom/upgrade-snappy
  • bb09480 Upgrade snappy to 1.1.7
  • c8f6502 Merge pull request #75 from Level/greenkeeper/standard-12.0.0
  • 3158bc2 Fix standard
  • 439f20f chore(package): update standard to version 12.0.0
  • ed512eb fix(package): update prebuild-install to version 5.0.0 (#69)
  • 71e5ebe chore(package): update prebuild to version 8.0.0 (#74)
  • 5148a93 fix(package): update nan to version 2.11.0 (#73)
  • 874fe91 Add nyc and coveralls (#70)
  • 144e40b Remove node 9
  • fc5310c Remove copyright headers from code
  • a121961 Remove .jshintrc
  • a01037f Remove contributors from package.json

There are 18 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Action required: Greenkeeper could not be activated ๐Ÿšจ

๐Ÿšจ You need to enable Continuous Integration on all branches of this repository. ๐Ÿšจ

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.

Since we did not receive a CI status on the greenkeeper/initial branch, we assume that you still need to configure it.

If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you donโ€™t want it to run on every branch, you can whitelist branches starting with greenkeeper/.

We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

Once you have installed CI on this repository, youโ€™ll need to re-trigger Greenkeeperโ€™s initial Pull Request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper integrationโ€™s white list on Github. You'll find this list on your repo or organiszationโ€™s settings page, under Installed GitHub Apps.

Update of rocksdb

Hi,

great to have the easy LevelUP api over RocksDB - thanks!

However, it seems that there has been no updates for a long time - any chance for an update?

br
Lars

Error: Could not locate the bindings file.

I'm trying to put my code on an AWS ubuntu ec2 instance. Built rocksdb via make static_lib in ~/rocksdb.

When I try to start my express server, I get the following error. I'm not sure how to hook rocks up properly. Also, why is leveldown.node available in node_modules on my localmachine, but not on the ec2 after an npm install?

ubuntu@ip:~/myapp$ node server/index.js
/home/ubuntu/myapp/node_modules/bindings/bindings.js:99
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 โ†’ /home/ubuntu/myapp/node_modules/rocksdb/build/leveldown.node
 โ†’ /home/ubuntu/myapp/node_modules/rocksdb/build/Debug/leveldown.node
 โ†’ /home/ubuntu/myapp/node_modules/rocksdb/build/Release/leveldown.node
 โ†’ /home/ubuntu/myapp/node_modules/rocksdb/out/Debug/leveldown.node
 โ†’ /home/ubuntu/myapp/node_modules/rocksdb/Debug/leveldown.node
 โ†’ /home/ubuntu/myapp/node_modules/rocksdb/out/Release/leveldown.node
 โ†’ /home/ubuntu/myapp/node_modules/rocksdb/Release/leveldown.node
 โ†’ /home/ubuntu/myapp/node_modules/rocksdb/build/default/leveldown.node
 โ†’ /home/ubuntu/myapp/node_modules/rocksdb/compiled/8.10.0/linux/x64/leveldown.node
    at bindings (/home/ubuntu/myapp/node_modules/bindings/bindings.js:96:9)
    at Object.<anonymous> (/home/ubuntu/myapp/node_modules/rocksdb/leveldown.js:3:36)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.wrappedLoad [as _load] (/home/ubuntu/myapp/node_modules/newrelic/lib/shimmer.js:372:38)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)

+1 without having to get

Hi!

Thanks for the amazing crate, i'm trying to do a +1 to a value (in a key) without having to read it first and let rocksdb manages it (to avoid race conditions).

I checked your API but apparently I don't see any option.

Thanks :)

Options file

Is there anyway I can set the options file while using this package? I notice that a new options file is created every time I open the database. Is it safe to simply modify an old options file?

Sync README with `level`

The README is missing the following methods:

  • db.iterator()
  • db.getMany()
  • db.clear()

Can probably be copied as-is from the level README, as level-rocksdb has the same arguments and options.

An in-range update of level-packager is breaking the build ๐Ÿšจ

Version 2.1.1 of level-packager was just published.

Branch Build failing ๐Ÿšจ
Dependency level-packager
Current Version 2.1.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

level-packager is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 11 commits.

  • 3a8f42b 2.1.1
  • cc3ed70 changelog: prepare 2.1.1 release
  • a60bbad update copyright year to 2018
  • c4516ec Merge pull request #47 from Level/changelog
  • 0c8e9b1 add CHANGELOG
  • 7f77bef test: remove level-test* dbs after tests are done
  • 0b4198c travis: add node 9
  • 430cfeb Merge pull request #44 from Level/greenkeeper/encoding-down-4.0.0
  • da013a7 fix(package): update encoding-down to version 4.0.0
  • ee558c1 Merge pull request #43 from Level/greenkeeper/leveldown-3.0.0
  • 787b1be chore(package): update leveldown to version 3.0.0

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! ๐ŸŽŠ

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml
  • The new Node.js version is in-range for the engines in 1 of your package.json files, so that was left alone

If youโ€™re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didnโ€™t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didnโ€™t touch job or matrix configurations because these tend to be quite specific and complex, and itโ€™s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what youโ€™re doing it may require additional work or may not be applicable at all. Weโ€™re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, Iโ€™m a humble robot and wonโ€™t feel rejected ๐Ÿค–


FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

installing error : PIC register clobbered by ebx in asm

i think the problem because of this : facebook/rocksdb#70 so what this mean ...


../deps/leveldb/leveldb-rocksdb/util/crc32c.cc:328:57: error: PIC register clobbered by รขebxรข in รขasmรข
asm("cpuid" : "=c"(c_), "=d"(d_) : "a"(1) : "ebx");
^
../deps/leveldb/leveldb-rocksdb/util/crc32c.cc:328:57: error: PIC register clobbered by รขebxรข in รขasmรข
asm("cpuid" : "=c"(c_), "=d"(d_) : "a"(1) : "ebx");
^
../deps/leveldb/leveldb-rocksdb/util/crc32c.cc:328:57: error: PIC register clobbered by รขebxรข in รขasmรข
asm("cpuid" : "=c"(c_), "=d"(d_) : "a"(1) : "ebx");
^
make: *** [Release/obj.target/leveldb/deps/leveldb/leveldb-rocksdb/util/crc32c.o] Error 1

Column families

I can't find out how to pass arguments to level(location[, options[, callback]]) so I can open column families.
I`am still getting error:

(node:22916) UnhandledPromiseRejectionWarning: OpenError: Invalid argument: You have to open all column families. Column families not opened: col0, col1, col2, col3, col4, col5, col6, col7
    at C:...project\node_modules\levelup\lib\levelup.js:87:23
    at C:...project\node_modules\abstract-leveldown\abstract-leveldown.js:41:14
    at C:...project\node_modules\deferred-leveldown\deferred-leveldown.js:20:21
    at C:...project\node_modules\abstract-leveldown\abstract-leveldown.js:41:14
    at C:...project\node_modules\abstract-leveldown\abstract-leveldown.js:41:14
(node:22916) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:22916) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

How can I open column families?

error building rocksdb on windows 10 with fresh box

Which version are you using?
NanoSQL2 < RocksDB latest- in windows 10:
node v12 x86, python2.7.16 x64??
npm install --global --production windows-build-tools

Describe the bug
after executing npm install @nano-sql/core I got the following log:


> [email protected] install D:\app-folder-name\node_modules\leveldown
> prebuild-install || node-gyp rebuild


D:\app-folder-name\node_modules\leveldown>if not defined npm_config_node_gyp (node "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) 
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  builder.cc
  db_impl.cc
  db_iter.cc
  filename.cc
  dbformat.cc
  log_reader.cc
  log_writer.cc
  memtable.cc
  repair.cc
  table_cache.cc
  version_edit.cc
  version_set.cc
  write_batch.cc
  memenv.cc
  port_posix_sse.cc
  block.cc
  block_builder.cc
  filter_block.cc
  format.cc
  iterator.cc
  merger.cc
  table.cc
  table_builder.cc
  two_level_iterator.cc
  arena.cc
  bloom.cc
  cache.cc
  coding.cc
  comparator.cc
  crc32c.cc
  env.cc
  filter_policy.cc
  hash.cc
  logging.cc
  options.cc
  status.cc
  port_uv.cc
  env_win.cc
  win_logger.cc
  win_delay_load_hook.cc
  leveldb.vcxproj -> D:\app-folder-name\node_modules\leveldown\build\Release\\leveldb.lib
  snappy-sinksource.cc
  snappy-stubs-internal.cc
  snappy.cc
  win_delay_load_hook.cc
  snappy.vcxproj -> D:\app-folder-name\node_modules\leveldown\build\Release\\snappy.lib
  batch.cc
  batch_async.cc
  database.cc
  database_async.cc
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': was declared deprecated (compiling source file ..\src\database.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2523): note: see declaration of 'v8::Value::ToBoolean' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\database.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2561): note: see declaration of 'v8::Value::BooleanValue' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': was declared deprecated (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2523): note: see declaration of 'v8::Value::ToBoolean' (compiling source file ..\src\batch.cc)
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2561): note: see declaration of 'v8::Value::BooleanValue' (compiling source file ..\src\batch.cc)
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2660: 'v8::StringObject::New': function does not take 1 arguments (compiling source file ..\src\database.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5380): note: see declaration of 'v8::StringObject::New' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2059: syntax error: ')' (compiling source file ..\src\database.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2660: 'v8::StringObject::New': function does not take 1 arguments (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5380): note: see declaration of 'v8::StringObject::New' (compiling source file ..\src\batch.cc)
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2059: syntax error: ')' (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': was declared deprecated (compiling source file ..\src\batch_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2523): note: see declaration of 'v8::Value::ToBoolean' (compiling source file ..\src\batch_async.cc)
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': was declared deprecated (compiling source file ..\src\database_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2523): note: see declaration of 'v8::Value::ToBoolean' (compiling source file ..\src\database_async.cc)
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\batch_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2561): note: see declaration of 'v8::Value::BooleanValue' (compiling source file ..\src\batch_async.cc)
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\database_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2561): note: see declaration of 'v8::Value::BooleanValue' (compiling source file ..\src\database_async.cc)
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2660: 'v8::StringObject::New': function does not take 1 arguments (compiling source file ..\src\batch_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5380): note: see declaration of 'v8::StringObject::New' (compiling source file ..\src\batch_async.cc)
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2660: 'v8::StringObject::New': function does not take 1 arguments (compiling source file ..\src\database_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5380): note: see declaration of 'v8::StringObject::New' (compiling source file ..\src\database_async.cc)
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2059: syntax error: ')' (compiling source file ..\src\batch_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2059: syntax error: ')' (compiling source file ..\src\database_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(24): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\database.cc)
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(127): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\database.cc)
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(24): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\batch.cc)
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\batch.cc)d:\app-folder-name\node_modules\leveldown\src\leveldown.h(16): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\database.cc)
  
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(17): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\database.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(127): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\batch.cc)d:\app-folder-name\node_modules\leveldown\src\leveldown.h(18): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\database.cc)
  
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\batch.cc)d:\app-folder-name\node_modules\leveldown\src\leveldown.h(19): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments (compiling source file ..\src\database.cc)
  
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(30): warning C4996: 'v8::Object::Get': was declared deprecated (compiling source file ..\src\database.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(24): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\database_async.cc)
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\database_async.cc)d:\app-folder-name\node_modules\nan\nan_object_wrap.h(24): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\batch_async.cc)
  
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\batch_async.cc)
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(127): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\database_async.cc)d:\app-folder-name\node_modules\nan\nan_object_wrap.h(127): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\batch_async.cc)
  
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\database_async.cc)
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\batch_async.cc)
d:\app-folder-name\node_modules\leveldown\src\database.h(31): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\database.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(16): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\database_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(16): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(17): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\database_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(17): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(18): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\database_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(18): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(19): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments (compiling source file ..\src\database_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(19): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(16): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\batch_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(30): warning C4996: 'v8::Object::Get': was declared deprecated (compiling source file ..\src\batch.cc)d:\app-folder-name\node_modules\leveldown\src\leveldown.h(30): warning C4996: 'v8::Object::Get': was declared deprecated (compiling source file ..\src\database_async.cc)d:\app-folder-name\node_modules\leveldown\src\leveldown.h(17): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\batch_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  
  
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get' (compiling source file ..\src\batch.cc)
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get' (compiling source file ..\src\database_async.cc)d:\app-folder-name\node_modules\leveldown\src\leveldown.h(18): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\batch_async.cc)
  
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(19): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments (compiling source file ..\src\batch_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.h(31): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\database_async.cc)d:\app-folder-name\node_modules\leveldown\src\database.h(31): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\database_async.cc)c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\batch.cc)
  
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(30): warning C4996: 'v8::Object::Get': was declared deprecated (compiling source file ..\src\batch_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get' (compiling source file ..\src\batch_async.cc)
d:\app-folder-name\node_modules\leveldown\src\common.h(19): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments (compiling source file ..\src\database.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\common.h(20): error C2661: 'v8::Value::BooleanValue': no overloaded function takes 0 arguments (compiling source file ..\src\database.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\common.h(30): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments (compiling source file ..\src\database.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.h(31): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\batch_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\batch_async.cc)
d:\app-folder-name\node_modules\leveldown\src\common.h(32): error C2660: 'v8::Value::Uint32Value': function does not take 0 arguments (compiling source file ..\src\database.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2567): note: see declaration of 'v8::Value::Uint32Value' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\common.h(19): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(173): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\common.h(20): error C2661: 'v8::Value::BooleanValue': no overloaded function takes 0 arguments (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\common.h(30): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\common.h(32): error C2660: 'v8::Value::Uint32Value': function does not take 0 arguments (compiling source file ..\src\batch.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2567): note: see declaration of 'v8::Value::Uint32Value' (compiling source file ..\src\batch.cc)
d:\app-folder-name\node_modules\leveldown\src\batch.cc(42): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(267): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\batch.cc(72): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\batch.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(266): error C2466: cannot allocate an array of constant size 0 [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\batch.cc(75): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\batch.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(264): warning C4996: 'v8::Object::Get': was declared deprecated [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get'
d:\app-folder-name\node_modules\leveldown\src\batch.cc(91): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(283): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  iterator.cc
d:\app-folder-name\node_modules\leveldown\src\batch.cc(91): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\batch.cc(91): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\batch.cc)
d:\app-folder-name\node_modules\leveldown\src\batch.cc(91): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\batch.cc(91): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(283): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  iterator_async.cc
d:\app-folder-name\node_modules\leveldown\src\batch.cc(92): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(283): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(283): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\database.cc(283): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(284): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\batch.cc(92): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\batch.cc(92): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\batch.cc)
d:\app-folder-name\node_modules\leveldown\src\batch.cc(92): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\batch.cc(92): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(284): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\batch.cc(110): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(284): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(284): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\database.cc(284): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\batch.cc(110): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\batch.cc(110): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\batch.cc)
d:\app-folder-name\node_modules\leveldown\src\batch.cc(110): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\batch.cc(110): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(308): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(308): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(308): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(308): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\database.cc(308): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(331): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(331): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(331): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(331): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\database.cc(331): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(376): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  leveldown.cc
d:\app-folder-name\node_modules\leveldown\src\database.cc(376): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(376): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(376): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\database.cc(376): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(386): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(386): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(386): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(386): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\database.cc(386): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(387): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(387): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(387): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(387): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\database.cc(387): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(368): warning C4996: 'v8::Object::Get': was declared deprecated [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3416): note: see declaration of 'v8::Object::Get'
d:\app-folder-name\node_modules\leveldown\src\database.cc(371): warning C4996: 'v8::Object::Get': was declared deprecated [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3416): note: see declaration of 'v8::Object::Get'
d:\app-folder-name\node_modules\leveldown\src\database.cc(372): warning C4996: 'v8::Object::Get': was declared deprecated [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get'
d:\app-folder-name\node_modules\leveldown\src\database.cc(373): warning C4996: 'v8::Object::Get': was declared deprecated [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get'
d:\app-folder-name\node_modules\leveldown\src\database.cc(384): warning C4996: 'v8::Object::Get': was declared deprecated [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get'
d:\app-folder-name\node_modules\leveldown\src\database.cc(420): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(420): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(420): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(420): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\database.cc(420): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(421): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(421): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(421): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(421): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\database.cc(421): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(442): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(442): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(442): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(442): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\database.cc(442): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(443): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(443): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(443): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(443): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\database.cc(443): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\database.cc(463): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(463): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\database.cc(463): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\database.cc)
d:\app-folder-name\node_modules\leveldown\src\database.cc(463): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\database.cc(463): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
  leveldown_async.cc
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': was declared deprecated (compiling source file ..\src\leveldown.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2523): note: see declaration of 'v8::Value::ToBoolean' (compiling source file ..\src\leveldown.cc)
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\leveldown.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2561): note: see declaration of 'v8::Value::BooleanValue' (compiling source file ..\src\leveldown.cc)
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': was declared deprecated (compiling source file ..\src\iterator_async.cc)d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2660: 'v8::StringObject::New': function does not take 1 arguments (compiling source file ..\src\leveldown.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5380): note: see declaration of 'v8::StringObject::New' (compiling source file ..\src\leveldown.cc)c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2523): note: see declaration of 'v8::Value::ToBoolean' (compiling source file ..\src\iterator_async.cc)
  
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2059: syntax error: ')' (compiling source file ..\src\leveldown.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\iterator_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2561): note: see declaration of 'v8::Value::BooleanValue' (compiling source file ..\src\iterator_async.cc)
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2660: 'v8::StringObject::New': function does not take 1 arguments (compiling source file ..\src\iterator_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5380): note: see declaration of 'v8::StringObject::New' (compiling source file ..\src\iterator_async.cc)
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2059: syntax error: ')' (compiling source file ..\src\iterator_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': was declared deprecated (compiling source file ..\src\iterator.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2523): note: see declaration of 'v8::Value::ToBoolean' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\iterator.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2561): note: see declaration of 'v8::Value::BooleanValue' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(24): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\leveldown.cc)
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\leveldown.cc)
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(127): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\leveldown.cc)
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\leveldown.cc)
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': was declared deprecated (compiling source file ..\src\leveldown_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2523): note: see declaration of 'v8::Value::ToBoolean' (compiling source file ..\src\leveldown_async.cc)d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2660: 'v8::StringObject::New': function does not take 1 arguments (compiling source file ..\src\iterator.cc)
  
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5380): note: see declaration of 'v8::StringObject::New' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2059: syntax error: ')' (compiling source file ..\src\iterator.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(16): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\leveldown.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(17): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\leveldown.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\leveldown_async.cc)d:\app-folder-name\node_modules\leveldown\src\leveldown.h(18): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\leveldown.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2561): note: see declaration of 'v8::Value::BooleanValue' (compiling source file ..\src\leveldown_async.cc)d:\app-folder-name\node_modules\leveldown\src\leveldown.h(19): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments (compiling source file ..\src\leveldown.cc)
  
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(30): warning C4996: 'v8::Object::Get': was declared deprecated (compiling source file ..\src\leveldown.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get' (compiling source file ..\src\leveldown.cc)
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(24): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\iterator_async.cc)
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\iterator_async.cc)
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(127): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\iterator_async.cc)
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\iterator_async.cc)
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2660: 'v8::StringObject::New': function does not take 1 arguments (compiling source file ..\src\leveldown_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5380): note: see declaration of 'v8::StringObject::New' (compiling source file ..\src\leveldown_async.cc)
d:\app-folder-name\node_modules\nan\nan_implementation_12_inl.h(356): error C2059: syntax error: ')' (compiling source file ..\src\leveldown_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(16): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\iterator_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(17): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\iterator_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(18): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\iterator_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(19): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments (compiling source file ..\src\iterator_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(30): warning C4996: 'v8::Object::Get': was declared deprecated (compiling source file ..\src\iterator_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get' (compiling source file ..\src\iterator_async.cc)
d:\app-folder-name\node_modules\leveldown\src\database.h(31): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\leveldown.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\leveldown.cc)d:\app-folder-name\node_modules\leveldown\src\database.h(31): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\iterator_async.cc)
  
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\iterator_async.cc)
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(24): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\leveldown.cc(58): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 argumentsd:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\iterator.cc)
  
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\leveldown.cc)
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(127): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\iterator.cc)d:\app-folder-name\node_modules\leveldown\src\leveldown.cc(62): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\iterator.cc)
  
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\leveldown.cc)
d:\app-folder-name\node_modules\leveldown\src\leveldown.cc(60): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.cc(67): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\leveldown.cc)
d:\app-folder-name\node_modules\leveldown\src\leveldown.cc(65): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(16): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\iterator.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.cc(70): warning C4996: 'v8::Object::Set': was declared deprecated [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(17): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\iterator.cc)c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(18): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\iterator.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(19): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments (compiling source file ..\src\iterator.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator_async.cc(60): warning C4996: 'v8::Object::Set': was declared deprecated [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(30): warning C4996: 'v8::Object::Get': was declared deprecated (compiling source file ..\src\iterator.cc)c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  
d:\app-folder-name\node_modules\leveldown\src\iterator_async.cc(61): warning C4996: 'v8::Object::Set': was declared deprecated [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get' (compiling source file ..\src\iterator.cc)
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(24): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\leveldown_async.cc)d:\app-folder-name\node_modules\leveldown\src\database.h(31): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\iterator.cc)
  win_delay_load_hook.cc
  
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\leveldown_async.cc)c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\iterator.cc)
  
d:\app-folder-name\node_modules\nan\nan_object_wrap.h(127): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\leveldown_async.cc)
  d:\app-folder-name\node_modules\nan\nan.h(1920): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
          with
          [
              T=v8::Object
          ] (compiling source file ..\src\leveldown_async.cc)
d:\app-folder-name\node_modules\leveldown\src\common.h(19): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments (compiling source file ..\src\iterator.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(16): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\leveldown_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\common.h(20): error C2661: 'v8::Value::BooleanValue': no overloaded function takes 0 arguments (compiling source file ..\src\iterator.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(17): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\leveldown_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\common.h(30): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments (compiling source file ..\src\iterator.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(18): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments (compiling source file ..\src\leveldown_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\common.h(32): error C2660: 'v8::Value::Uint32Value': function does not take 0 arguments (compiling source file ..\src\iterator.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2567): note: see declaration of 'v8::Value::Uint32Value' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\leveldown.h(19): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments (compiling source file ..\src\leveldown_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(274): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 argumentsd:\app-folder-name\node_modules\leveldown\src\leveldown.h(30): warning C4996: 'v8::Object::Get': was declared deprecated (compiling source file ..\src\leveldown_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(274): error C2660: 'memcpy': function does not take 2 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get' (compiling source file ..\src\leveldown_async.cc)c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\vcruntime_string.h(40): note: see declaration of 'memcpy' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(274): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(274): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(274): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\iterator.cc(274): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(412): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(415): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(426): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(457): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(465): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(465): error C2660: 'memcpy': function does not take 2 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\vcruntime_string.h(40): note: see declaration of 'memcpy' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(465): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(465): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(465): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\iterator.cc(465): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(471): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(479): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(479): error C2660: 'memcpy': function does not take 2 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\vcruntime_string.h(40): note: see declaration of 'memcpy' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\database.h(31): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\leveldown_async.cc) [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\leveldown_async.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(479): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(479): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(479): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\iterator.cc(479): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(485): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(490): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(495): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(503): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(503): error C2660: 'memcpy': function does not take 2 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\vcruntime_string.h(40): note: see declaration of 'memcpy' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(503): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(503): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(503): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\iterator.cc(503): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(518): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(526): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(526): error C2660: 'memcpy': function does not take 2 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\vcruntime_string.h(40): note: see declaration of 'memcpy' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(526): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(526): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(526): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\iterator.cc(526): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(541): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(549): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(549): error C2660: 'memcpy': function does not take 2 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\vcruntime_string.h(40): note: see declaration of 'memcpy' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(549): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(549): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(549): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\iterator.cc(549): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(564): error C2661: 'v8::Object::Has': no overloaded function takes 1 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(572): error C2661: 'v8::Value::ToObject': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(572): error C2660: 'memcpy': function does not take 2 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\vcruntime_string.h(40): note: see declaration of 'memcpy' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(572): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(572): error C2660: 'v8::String::Utf8Length': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2678): note: see declaration of 'v8::String::Utf8Length' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(572): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert argument 1 from 'char *' to 'v8::Isolate *' [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  d:\app-folder-name\node_modules\leveldown\src\iterator.cc(572): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(597): error C2660: 'v8::Value::Int32Value': function does not take 0 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]
  c:\users\tboga\.node-gyp\12.0.0\include\node\v8.h(2569): note: see declaration of 'v8::Value::Int32Value' (compiling source file ..\src\iterator.cc)
d:\app-folder-name\node_modules\leveldown\src\iterator.cc(595): error C2661: 'leveldown::Iterator::Iterator': no overloaded function takes 15 arguments [D:\app-folder-name\node_modules\leveldown\build\leveldown.vcxproj]

> [email protected] install D:\app-folder-name\node_modules\rocksdb
> prebuild-install || node-gyp rebuild


D:\app-folder-name\node_modules\rocksdb>if not defined npm_config_node_gyp (node "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) 
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  auto_roll_logger.cc
  builder.cc
  c.cc
  column_family.cc
  compacted_db_impl.cc
  compaction.cc
  compaction_iterator.cc
  compaction_job.cc
  compaction_picker.cc
  convenience.cc
  range_del_aggregator.cc
  db_filesnapshot.cc
  dbformat.cc
  db_impl.cc
  db_impl_debug.cc
  db_impl_readonly.cc
  db_impl_experimental.cc
  db_info_dumper.cc
  db_iter.cc
  external_sst_file_ingestion_job.cc
  experimental.cc
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\algorithm(4034): error C2678: binary '-': no operator found which takes a left-hand operand of type 'const _Iter' (or there is no acceptable conversion) [D:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb.vcxproj]
          with
          [
              _Iter=rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *>
          ] (compiling source file leveldb-rocksdb\db\external_sst_file_ingestion_job.cc)
  d:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb-rocksdb\util\autovector.h(103): note: could be 'int rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *>::operator -(const rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *> &)' (compiling source file leveldb-rocksdb\db\external_sst_file_ingestion_job.cc)
  d:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb-rocksdb\util\autovector.h(99): note: or       'rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *> rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *>::operator -(int)' (compiling source file leveldb-rocksdb\db\external_sst_file_ingestion_job.cc)
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\algorithm(4034): note: while trying to match the argument list '(const _Iter, const _Iter)'
          with
          [
              _Iter=rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *>
          ] (compiling source file leveldb-rocksdb\db\external_sst_file_ingestion_job.cc)
  d:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb-rocksdb\db\external_sst_file_ingestion_job.cc(68): note: see reference to function template instantiation 'void std::sort<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *>,rocksdb::ExternalSstFileIngestionJob::Prepare::<lambda_39e98dcf84f434a17719dd7f61e4a43a>>(const _RanIt,const _RanIt,_Pr)' being compiled
          with
          [
              _RanIt=rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>::iterator_impl<rocksdb::autovector<const rocksdb::IngestedFileInfo *,8>,const rocksdb::IngestedFileInfo *>,
              _Pr=rocksdb::ExternalSstFileIngestionJob::Prepare::<lambda_39e98dcf84f434a17719dd7f61e4a43a>
          ]
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\algorithm(4034): error C2672: '_Sort_unchecked': no matching overloaded function found (compiling source file leveldb-rocksdb\db\external_sst_file_ingestion_job.cc) [D:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb.vcxproj]
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\algorithm(4034): error C2780: 'void std::_Sort_unchecked(_RanIt,_RanIt,iterator_traits<_Iter>::difference_type,_Pr)': expects 4 arguments - 3 provided (compiling source file leveldb-rocksdb\db\external_sst_file_ingestion_job.cc) [D:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb.vcxproj]
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\algorithm(3995): note: see declaration of 'std::_Sort_unchecked' (compiling source file leveldb-rocksdb\db\external_sst_file_ingestion_job.cc)
  event_helpers.cc
  file_indexer.cc
  filename.cc
  flush_job.cc
  flush_scheduler.cc
  forward_iterator.cc
  internal_stats.cc
  log_reader.cc
  log_writer.cc
  managed_iterator.cc
  memtable_allocator.cc
  memtable.cc
  memtable_list.cc
  merge_helper.cc
  merge_operator.cc
  repair.cc
  snapshot_impl.cc
  table_cache.cc
  table_properties_collector.cc
  transaction_log_impl.cc
  version_builder.cc
  version_edit.cc
  version_set.cc
  wal_manager.cc
  write_batch.cc
  write_batch_base.cc
  write_controller.cc
  write_thread.cc
  hash_cuckoo_rep.cc
  hash_linklist_rep.cc
  hash_skiplist_rep.cc
  skiplistrep.cc
  vectorrep.cc
  stack_trace.cc
  adaptive_table_factory.cc
  block_based_filter_block.cc
  block_based_table_builder.cc
  block_based_table_factory.cc
  block_based_table_reader.cc
  block_builder.cc
  block.cc
  block_prefix_index.cc
  bloom_block.cc
  cuckoo_table_builder.cc
  cuckoo_table_factory.cc
  cuckoo_table_reader.cc
  flush_block_policy.cc
  format.cc
  full_filter_block.cc
  get_context.cc
  index_builder.cc
  iterator.cc
  merging_iterator.cc
  meta_blocks.cc
  sst_file_writer.cc
  partitioned_filter_block.cc
  plain_table_builder.cc
  plain_table_factory.cc
  plain_table_index.cc
  plain_table_key_coding.cc
  plain_table_reader.cc
  persistent_cache_helper.cc
  table_properties.cc
  two_level_iterator.cc
  db_dump_tool.cc
  arena.cc
  bloom.cc
  build_version.cc
  cf_options.cc
  clock_cache.cc
  coding.cc
  comparator.cc
  compaction_job_stats_impl.cc
  concurrent_arena.cc
  crc32c.cc
  db_options.cc
  delete_scheduler.cc
  dynamic_bloom.cc
  env.cc
  env_chroot.cc
  env_hdfs.cc
  event_logger.cc
  file_util.cc
  file_reader_writer.cc
  filter_policy.cc
  hash.cc
  histogram.cc
  histogram_windowing.cc
  instrumented_mutex.cc
  iostats_context.cc
  io_posix.cc
  log_buffer.cc
  logging.cc
  lru_cache.cc
  memenv.cc
  murmurhash.cc
  options.cc
  options_helper.cc
  options_parser.cc
  options_sanity_check.cc
  perf_context.cc
  perf_level.cc
  random.cc
  rate_limiter.cc
  sharded_cache.cc
  slice.cc
  sst_file_manager_impl.cc
  statistics.cc
  status.cc
  status_message.cc
  string_util.cc
  sync_point.cc
  thread_local.cc
  thread_status_impl.cc
  thread_status_updater.cc
  thread_status_updater_debug.cc
  thread_status_util.cc
  thread_status_util_debug.cc
  threadpool_imp.cc
  transaction_test_util.cc
  xxhash.cc
  backupable_db.cc
  blob_db.cc
  info_log_finder.cc
  checkpoint.cc
  remove_emptyvalue_compactionfilter.cc
  document_db.cc
  json_document_builder.cc
  json_document.cc
  env_mirror.cc
  geodb_impl.cc
  leveldb_options.cc
  rocks_lua_compaction_filter.cc
  memory_util.cc
  put.cc
  max.cc
  stringappend2.cc
  stringappend.cc
  uint64add.cc
  option_change_migration.cc
  options_util.cc
  persistent_cache_tier.cc
  volatile_tier_impl.cc
  block_cache_tier_file.cc
  block_cache_tier_metadata.cc
  block_cache_tier.cc
  redis_lists.cc
  sim_cache.cc
  spatial_db.cc
  compact_on_deletion_collector.cc
  optimistic_transaction_impl.cc
  optimistic_transaction_db_impl.cc
  transaction_base.cc
  transaction_db_impl.cc
  transaction_db_mutex_impl.cc
  transaction_lock_mgr.cc
  transaction_impl.cc
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\xutility(968): error C2678: binary '-': no operator found which takes a left-hand operand of type 'const _Iter' (or there is no acceptable conversion) [D:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb.vcxproj]
          with
          [
              _Iter=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_db_impl.cc)
  d:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb-rocksdb\util\autovector.h(103): note: could be 'int rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>::operator -(const rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64> &)' (compiling source file leveldb-rocksdb\utilities\transactions\transaction_db_impl.cc)
  d:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb-rocksdb\util\autovector.h(99): note: or       'rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64> rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>::operator -(int)' (compiling source file leveldb-rocksdb\utilities\transactions\transaction_db_impl.cc)
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\xutility(968): note: while trying to match the argument list '(const _Iter, const _Iter)'
          with
          [
              _Iter=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_db_impl.cc)
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\xutility(975): note: see reference to function template instantiation 'int std::_Idl_distance1<_Checked,_Iter>(const _Iter &,const _Iter &,std::random_access_iterator_tag)' being compiled
          with
          [
              _Checked=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>,
              _Iter=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_db_impl.cc)
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\xutility(2444): note: see reference to function template instantiation 'int std::_Idl_distance<_InIt,_Iter>(const _Iter &,const _Iter &)' being compiled
          with
          [
              _InIt=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>,
              _Iter=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_db_impl.cc)
  d:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb-rocksdb\utilities\transactions\transaction_impl.h(68): note: see reference to function template instantiation '_OutIt std::copy<rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>>(_InIt,_InIt,_OutIt)' being compiled
          with
          [
              _OutIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<rocksdb::TransactionID>>>,
              _Ty=rocksdb::TransactionID,
              _InIt=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_db_impl.cc)
  transaction_util.cc
  db_ttl_impl.cc
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\xutility(968): error C2678: binary '-': no operator found which takes a left-hand operand of type 'const _Iter' (or there is no acceptable conversion) [D:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb.vcxproj]
          with
          [
              _Iter=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_lock_mgr.cc)
  d:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb-rocksdb\util\autovector.h(103): note: could be 'int rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>::operator -(const rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64> &)' (compiling source file leveldb-rocksdb\utilities\transactions\transaction_lock_mgr.cc)
  d:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb-rocksdb\util\autovector.h(99): note: or       'rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64> rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>::operator -(int)' (compiling source file leveldb-rocksdb\utilities\transactions\transaction_lock_mgr.cc)
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\xutility(968): note: while trying to match the argument list '(const _Iter, const _Iter)'
          with
          [
              _Iter=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_lock_mgr.cc)
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\xutility(975): note: see reference to function template instantiation 'int std::_Idl_distance1<_Checked,_Iter>(const _Iter &,const _Iter &,std::random_access_iterator_tag)' being compiled
          with
          [
              _Checked=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>,
              _Iter=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_lock_mgr.cc)
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\xutility(2444): note: see reference to function template instantiation 'int std::_Idl_distance<_InIt,_Iter>(const _Iter &,const _Iter &)' being compiled
          with
          [
              _InIt=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>,
              _Iter=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_lock_mgr.cc)
  d:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb-rocksdb\utilities\transactions\transaction_impl.h(68): note: see reference to function template instantiation '_OutIt std::copy<rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>>(_InIt,_InIt,_OutIt)' being compiled
          with
          [
              _OutIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<rocksdb::TransactionID>>>,
              _Ty=rocksdb::TransactionID,
              _InIt=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_lock_mgr.cc)
  date_tiered_db_impl.cc
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\xutility(968): error C2678: binary '-': no operator found which takes a left-hand operand of type 'const _Iter' (or there is no acceptable conversion) [D:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb.vcxproj]
          with
          [
              _Iter=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_impl.cc)
  d:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb-rocksdb\util\autovector.h(103): note: could be 'int rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>::operator -(const rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64> &)' (compiling source file leveldb-rocksdb\utilities\transactions\transaction_impl.cc)
  d:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb-rocksdb\util\autovector.h(99): note: or       'rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64> rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>::operator -(int)' (compiling source file leveldb-rocksdb\utilities\transactions\transaction_impl.cc)
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\xutility(968): note: while trying to match the argument list '(const _Iter, const _Iter)'
          with
          [
              _Iter=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_impl.cc)
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\xutility(975): note: see reference to function template instantiation 'int std::_Idl_distance1<_Checked,_Iter>(const _Iter &,const _Iter &,std::random_access_iterator_tag)' being compiled
          with
          [
              _Checked=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>,
              _Iter=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_impl.cc)
  c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.16.27023\include\xutility(2444): note: see reference to function template instantiation 'int std::_Idl_distance<_InIt,_Iter>(const _Iter &,const _Iter &)' being compiled
          with
          [
              _InIt=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>,
              _Iter=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_impl.cc)
  d:\app-folder-name\node_modules\rocksdb\deps\leveldb\leveldb-rocksdb\utilities\transactions\transaction_impl.h(68): note: see reference to function template instantiation '_OutIt std::copy<rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>>(_InIt,_InIt,_OutIt)' being compiled
          with
          [
              _OutIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<rocksdb::TransactionID>>>,
              _Ty=rocksdb::TransactionID,
              _InIt=rocksdb::autovector<rocksdb::TransactionID,8>::iterator_impl<const rocksdb::autovector<rocksdb::TransactionID,8>,const unsigned __int64>
          ] (compiling source file leveldb-rocksdb\utilities\transactions\transaction_impl.cc)
  write_batch_with_index.cc
  write_batch_with_index_internal.cc
  port_win.cc
  io_win.cc
  xpress_win.cc
  env_default.cc
  env_win.cc
  win_logger.cc
  win_thread.cc
  win_delay_load_hook.cc
  snappy-sinksource.cc
  snappy-stubs-internal.cc
  snappy.cc
  win_delay_load_hook.cc
  snappy.vcxproj -> D:\app-folder-name\node_modules\rocksdb\build\Release\\snappy.lib

> [email protected] postinstall D:\app-folder-name\node_modules\electron
> node install.js

+ @nano-sql/[email protected]


gyp ERR! node -v v12.0.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
prebuild-install WARN install No prebuilt binaries found (target=12.0.0 runtime=node arch=ia32 libc= platform=win32)
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:196:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:256:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\app-folder-name\node_modules\rocksdb
gyp ERR! node -v v12.0.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\leveldown):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `prebuild-install || node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\rocksdb):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `prebuild-install || node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

Right now RocksDB for windows 10 cannot be built.

Error while trying to open a database

  • I have tried to open a database of a blockchain using the usual way: const db = level(path).
  • I got the following error, when I tried running the code:
    node: ../deps/rocksdb/rocksdb/db/version_edit.h:396: void rocksdb::VersionEdit::AddFile(int, uint64_t, uint32_t, uint64_t, const rocksdb::InternalKey&, const rocksdb::InternalKey&, const SequenceNumber&, const SequenceNumber&, bool, uint64_t, uint64_t, uint64_t, const string&, const string&): Assertion 'smallest_seqno <= largest_seqno' failed. Aborted (core dumped)
  • I didn't understand the meaning of this error. Can anyone please help me in debugging this error ? Thank you

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.