GithubHelp home page GithubHelp logo

mhsjlw / node-leveldb-mcpe Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 9.0 50 KB

Node bindings for Mojang's fork of LevelDB

License: MIT License

JavaScript 26.47% C++ 57.67% CMake 15.86%
leveldb mcpe nodejs zlib-support

node-leveldb-mcpe's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

node-leveldb-mcpe's Issues

Testing and CI

  • Jest
  • CircleCI

Ideas:

  • Open up a database then check if the folder actually exists
  • Build a table of 1000 keys, write them, read them back
  • Test buffer reading and writing

Will not build on OSX 10.15.7 / Node 15

Error logs:

[ 90%] Building CXX object CMakeFiles/node_leveldb_mcpe_native.dir/src/entrypoint.cpp.o
In file included from /tmp/t/node-leveldb-mcpe/src/entrypoint.cpp:2:
/private/tmp/t/node-leveldb-mcpe/node_modules/nan/nan.h:52:3: error: This version of node/NAN/v8 requires a C++11 compiler
# error This version of node/NAN/v8 requires a C++11 compiler
  ^
In file included from /tmp/t/node-leveldb-mcpe/src/entrypoint.cpp:2:
In file included from /private/tmp/t/node-leveldb-mcpe/node_modules/nan/nan.h:56:
In file included from /Users/mtwomey/.cmake-js/node-x64/v15.5.0/include/node/node.h:63:
In file included from /Users/mtwomey/.cmake-js/node-x64/v15.5.0/include/node/v8.h:28:
/Users/mtwomey/.cmake-js/node-x64/v15.5.0/include/node/cppgc/common.h:14:6: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]
enum class EmbedderStackState {
     ^
In file included from /tmp/t/node-leveldb-mcpe/src/entrypoint.cpp:2:
In file included from /private/tmp/t/node-leveldb-mcpe/node_modules/nan/nan.h:56:
In file included from /Users/mtwomey/.cmake-js/node-x64/v15.5.0/include/node/node.h:63:
In file included from /Users/mtwomey/.cmake-js/node-x64/v15.5.0/include/node/v8.h:29:
/Users/mtwomey/.cmake-js/node-x64/v15.5.0/include/node/v8-internal.h:51:1: error: unknown type name 'constexpr'
constexpr intptr_t kIntptrAllBitsSet = intptr_t{-1};
^
/Users/mtwomey/.cmake-js/node-x64/v15.5.0/include/node/v8-internal.h:51:19: error: expected ';' after top level declarator
constexpr intptr_t kIntptrAllBitsSet = intptr_t{-1};
                  ^
                  ;
/Users/mtwomey/.cmake-js/node-x64/v15.5.0/include/node/v8-internal.h:52:1: error: unknown type name 'constexpr'
constexpr uintptr_t kUintptrAllBitsSet =
^
/Users/mtwomey/.cmake-js/node-x64/v15.5.0/include/node/v8-internal.h:52:20: error: expected ';' after top level declarator
constexpr uintptr_t kUintptrAllBitsSet =
                   ^
                   ;
/Users/mtwomey/.cmake-js/node-x64/v15.5.0/include/node/v8-internal.h:60:10: error: unknown type name 'constexpr'
  static constexpr intptr_t kSmiMinValue =
         ^
/Users/mtwomey/.cmake-js/node-x64/v15.5.0/include/node/v8-internal.h:60:28: error: expected ';' at end of declaration list
  static constexpr intptr_t kSmiMinValue =

"ERR! OMG There is no Visual C++ compiler installed." when installing

When I'm attempting to install I get thrown the following error:

ERR! OMG There is no Visual C++ compiler installed. Install Visual C++ Build Too lset or Visual Studio.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `cmake-js compile -m`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.

Using the following installations:

  • node.js v10.15.3
  • CMake 3.14.0 x64
  • Visual Studio 2017

Have a great day,
Clark

Installation with NPM fails

When installing the dependencies using NPM I get the following error:
'out-static' is not recognized as an internal or external command, operable program or batch file

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.