mhsjlw / node-leveldb-mcpe Goto Github PK
View Code? Open in Web Editor NEWNode bindings for Mojang's fork of LevelDB
License: MIT License
Node bindings for Mojang's fork of LevelDB
License: MIT License
It's going to be impractical to get everyone to download CMake, make and a C++ compiler eventually
https://github.com/my8bird/node-leveldb is async
We probably should make this async too, at some point.
Ideas:
just have to implement this https://github.com/Level/abstract-leveldown#example
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
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 =
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:
Have a great day,
Clark
Changes made by A2K at https://github.com/A2K/node-leveldb-mcpe would be useful to have in the original module
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.