npm install --verbose --global --cache ./.npmbox.cache --optional --cache-min 99999 --shrinkwrap false npmbox@1.0.0
npm install --verbose --global --cache ./.npmbox.cache --optional --cache-min 99999 npmbox@1.0.0
server> npmunbox -v -g log.io.npmbox --user "root"
Extracting archive log.io...npm WARN deprecated This version of npm lacks support for important features,npm WARN deprecated such as scoped packages, offered by the primary npmnpm WARN deprecated registry. Consider upgrading to at least npm@2, if not thenpm WARN deprecated latest stable version. To upgrade to npm@2, run:npm WARN deprecatednpm WARN deprecated npm -g install npm@latest-2npm WARN deprecatednpm WARN deprecated To upgrade to the latest stable version, run:npm WARN deprecatednpm WARN deprecated npm -g install npm@latestnpm WARN deprecatednpm WARN deprecated (Depending on how Node.js was installed on your system, younpm WARN deprecated may need to prefix the preceding commands with `sudo`, or ifnpm WARN deprecated on Windows, run them from an Administrator prompt.)npm WARN deprecatednpm WARN deprecated If you're running the version of npm bundled withnpm WARN deprecated Node.js 0.10 LTS, be aware that the next version of 0.10 LTSnpm WARN deprecated will be bundled with a version of npm@2, which has some smallnpm WARN deprecated backwards-incompatible changes made to `npm run-script` andnpm WARN deprecated semver behavior.Installing log.io...npm http GET https://registry.npmjs.org/log.ionpm http GET https://registry.npmjs.org/log.ionpm http GET https://registry.npmjs.org/log.io/Cleaning Up...
npmunbox had the following errors... Unable to install log.io.npmbox from log.ioIn file included from ../src/database.h:18, from ../src/batch.cc:5:../src/leveldown.h: In function ‘void DisposeStringOrBufferFromSlice(Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >&, leveldb::Slice)’:../src/leveldown.h:30: error: no matching function for call to ‘New(const char [4])’In file included from ../src/batch.cc:5:../src/database.h: In constructor ‘leveldown::Reference::Reference(v8::Local<v8::Value>, leveldb::Slice)’:../src/database.h:31: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’In file included from ../src/batch.cc:8:../src/common.h: In function ‘bool leveldown::BooleanOptionValue(v8::Local<v8::Object>, const char*, bool)’:../src/common.h:16: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../src/common.h: In function ‘uint32_t leveldown::UInt32OptionValue(v8::Local<v8::Object>, const char*, uint32_t)’:../src/common.h:26: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../src/batch.cc: In static member function ‘static void leveldown::Batch::Init()’:../src/batch.cc:33: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’make: *** [Release/obj.target/leveldown/src/batch.o] Error 1make: Leaving directory `/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/build'prebuild ERR! build errorprebuild ERR! stack Error: `make` failed with exit code: 2prebuild ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/lib/build.js:276:23)prebuild ERR! stack at emitTwo (events.js:87:13)prebuild ERR! stack at ChildProcess.emit (events.js:172:7)prebuild ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)prebuild ERR! not okprebuild ERR! build Error: `make` failed with exit code: 2prebuild ERR! build at ChildProcess.onExit (/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/lib/build.js:276:23)prebuild ERR! build at emitTwo (events.js:87:13)prebuild ERR! build at ChildProcess.emit (events.js:172:7)prebuild ERR! build at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
> sql...@3.1.1 install /usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/websql/node_modules/sqlite3> node-pre-gyp install --fallback-to-build
[sqlite3] Success: "/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/websql/node_modules/sqlite3/lib/binding/node-v46-linux-x64/node_sqlite3.node" is installed via remotenpm WARN optional dep failed, continuing leve...@1.4.4npm ERR! Linux 2.6.32-431.29.2.el6.x86_64npm ERR! argv "/usr/local/bin/node" "/usr/bin/npm" "install" "-g" "local-npm"npm ERR! node v4.4.0npm ERR! npm v2.14.20npm ERR! code ELIFECYCLE
npm ERR! leve...@1.4.4 install: `prebuild --install`npm ERR! Exit status 2npm ERR!npm ERR! Failed at the leve...@1.4.4 install script 'prebuild --install'.npm ERR! This is most likely a problem with the leveldown package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! prebuild --installnpm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs leveldownnpm ERR! Or if that isn't available, you can get their info via:npm ERR!npm ERR! npm owner ls leveldownnpm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:npm ERR! /opt/local-npm/npm-debug.logIn file included from ../src/batch.cc:3:../node_modules/nan/nan.h:41:3: error: #error This version of node/NAN/v8 requires a C++11 compilerIn file included from /usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/node.h:42,from ../src/batch.cc:1:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:336: error: expected unqualified-id before ‘using’/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h: In constructor ‘v8::MaybeLocal<T>::MaybeLocal()’:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:353: error: ‘nullptr’ was not declared in this scope/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::IsEmpty() const’:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:360: error: ‘nullptr’ was not declared in this scope/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const’:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:364: error: ‘nullptr’ was not declared in this scope/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const’:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:430: error: ‘nullptr’ was not declared in this scope/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h: At global scope:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:469: error: expected unqualified-id before ‘using’/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global()’:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:790: error: ‘nullptr’ was not declared in this scope/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global(v8::Global<T>&&)’:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:815: error: ‘nullptr’ was not declared in this scope/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h: In member function ‘v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)’:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:827: error: ‘nullptr’ was not declared in this scope/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h: At global scope:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:852: error: expected unqualified-id before ‘using’/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:1089: error: ‘nullptr’ was not declared in this scope/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:1095: error: ‘nullptr’ was not declared in this scope/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h: In member function ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:3205: error: ‘nullptr’ was not declared in this scope/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h: In member function ‘v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()’:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:7164: error: ‘nullptr’ was not declared in this scopeIn file included from ../node_modules/nan/nan.h:194,from ../src/batch.cc:3:../node_modules/nan/nan_maybe_43_inl.h: At global scope:../node_modules/nan/nan_maybe_43_inl.h:13: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:16: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:19: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:24: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:31: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:36: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:41: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:46: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:51: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:59: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:64: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:69: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:76: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:83: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:91: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:98: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:108: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:114: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:118: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:125: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:130: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:135: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:139: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:145: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:150: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:156: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:162: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:168: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:174: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:180: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:186: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:194: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:201: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:205: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:209: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:213: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:217: error: expected initializer before ‘<’ token../node_modules/nan/nan_maybe_43_inl.h:223: error: expected initializer before ‘<’ tokenIn file included from ../node_modules/nan/nan.h:199,from ../src/batch.cc:3:../node_modules/nan/nan_converters.h:14: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type../node_modules/nan/nan_converters.h:14: error: expected ‘;’ before ‘<’ token../node_modules/nan/nan_converters.h:16: error: ISO C++ forbids declaration of ‘Maybe’ with no type../node_modules/nan/nan_converters.h:16: error: expected ‘;’ before ‘<’ token../node_modules/nan/nan_converters.h:26: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:27: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:28: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:29: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:30: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:31: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:32: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:42: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:43: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:44: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:45: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:46: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_converters.h:59,from ../node_modules/nan/nan.h:199,from ../src/batch.cc:3:../node_modules/nan/nan_converters_43_inl.h:18: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Boolean>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:19: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Number>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:20: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::String>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:21: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Object>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:22: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Integer>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:23: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Uint32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:24: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Int32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:34: error: ‘return_t’ in class ‘Nan::imp::ToFactory<bool>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:35: error: ‘return_t’ in class ‘Nan::imp::ToFactory<double>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:36: error: ‘return_t’ in class ‘Nan::imp::ToFactory<long int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:37: error: ‘return_t’ in class ‘Nan::imp::ToFactory<unsigned int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:38: error: ‘return_t’ in class ‘Nan::imp::ToFactory<int>’ does not name a typeIn file included from ../node_modules/nan/nan.h:200,from ../src/batch.cc:3:../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:../node_modules/nan/nan_new.h:21: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:../node_modules/nan/nan_new.h:28: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:../node_modules/nan/nan_new.h:35: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h: At global scope:../node_modules/nan/nan_new.h:43: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type../node_modules/nan/nan_new.h:43: error: expected ‘;’ before ‘<’ token../node_modules/nan/nan_new.h:75: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:141: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:147: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:148: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:160: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:161: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:162: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:163: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:165: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:166: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:182: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:183: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_new.h:189,from ../node_modules/nan/nan.h:200,from ../src/batch.cc:3:../node_modules/nan/nan_implementation_12_inl.h:56: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Date>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static v8::Local<v8::Function> Nan::imp::Factory<v8::Function>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)’:../node_modules/nan/nan_implementation_12_inl.h:90: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static v8::Local<v8::FunctionTemplate> Nan::imp::Factory<v8::FunctionTemplate>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>, v8::Local<v8::Signature>)’:../node_modules/nan/nan_implementation_12_inl.h:118: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: At global scope:../node_modules/nan/nan_implementation_12_inl.h:197: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::RegExp>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:216: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:222: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:254: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:262: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:268: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:275: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:281: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:286: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:347: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::UnboundScript>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:354: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::UnboundScript>’ does not name a typeIn file included from ../node_modules/nan/nan.h:200,from ../src/batch.cc:3:../node_modules/nan/nan_new.h:293: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:299: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:305: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:311: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:317: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:323: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:329: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:335: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::RegExp>’ does not name a typeIn file included from ../src/batch.cc:3:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:../node_modules/nan/nan.h:659: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:../node_modules/nan/nan.h:659: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:../node_modules/nan/nan.h:660: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:../node_modules/nan/nan.h:660: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:../node_modules/nan/nan.h:661: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:../node_modules/nan/nan.h:661: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:../node_modules/nan/nan.h:662: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:../node_modules/nan/nan.h:662: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:../node_modules/nan/nan.h:663: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:../node_modules/nan/nan.h:663: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:671: error: expected initializer before ‘<’ token../node_modules/nan/nan.h:693: error: expected initializer before ‘<’ token../node_modules/nan/nan.h:709: error: expected initializer before ‘<’ token../node_modules/nan/nan.h:722: error: expected initializer before ‘<’ token../node_modules/nan/nan.h:739: error: expected initializer before ‘<’ token../node_modules/nan/nan.h:745: error: expected initializer before ‘<’ token../node_modules/nan/nan.h:753: error: expected initializer before ‘<’ token../node_modules/nan/nan.h:760: error: expected initializer before ‘<’ token../node_modules/nan/nan.h:766: error: expected initializer before ‘<’ token/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:3021: error: argument dependent lookup finds ‘class v8::Set’../node_modules/nan/nan.h:1402: error: in call to ‘Set’../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:1524: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1542: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:../node_modules/nan/nan.h:1576: error: no matching function for call to ‘New(const char*)’../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’:../node_modules/nan/nan.h:1865: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available../node_modules/nan/nan.h:1865: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)../node_modules/nan/nan.h:1866: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’:../node_modules/nan/nan.h:1878: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:1879: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:../node_modules/nan/nan.h:1904: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:../node_modules/nan/nan.h:1947: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)’:../node_modules/nan/nan.h:1995: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2065: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetCallHandler(v8::Local<v8::FunctionTemplate>, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2120: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetCallAsFunctionHandler(v8::Local<v8::ObjectTemplate>, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2142: error: ‘NewInstance’ was not declared in this scopeIn file included from ../src/batch.cc:3:../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’:../node_modules/nan/nan.h:2169: error: no matching function for call to ‘New(const char*&)’../node_modules/nan/nan.h:2170: error: ‘GetFunction’ was not declared in this scope/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/v8.h:3021: error: argument dependent lookup finds ‘class v8::Set’../node_modules/nan/nan.h:2170: error: in call to ‘Set’../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2177: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:../node_modules/nan/nan.h:2190: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:../node_modules/nan/nan.h:2196: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:2220: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type../node_modules/nan/nan.h:2220: error: expected ‘;’ before ‘<’ token../node_modules/nan/nan.h:2223: error: expected ‘;’ before ‘}’ token../node_modules/nan/nan.h:2225: error: ‘MaybeLocal’ was not declared in this scope../node_modules/nan/nan.h:2225: error: template argument 1 is invalid../node_modules/nan/nan.h:2225: error: expected unqualified-id before ‘>’ token../node_modules/nan/nan.h:2234: error: expected constructor, destructor, or type conversion before ‘<’ token
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "local-npm"
npm ERR! node v4.4.0npm ERR! npm v2.14.20npm ERR! code ELIFECYCLEnpm ERR! leve...@1.4.4 install: `prebuild --install`npm ERR! Exit status 2npm ERR!npm ERR! Failed at the leve...@1.4.4 install script 'prebuild --install'.npm ERR! This is most likely a problem with the leveldown package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! prebuild --installnpm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs leveldownnpm ERR! Or if that isn't available, you can get their info via:npm ERR!npm ERR! npm owner ls leveldownnpm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:
npm ERR! /var/satellite/local-npm/npm-debug.log
rpm -qa | grep "gcc-c++"
gcc-c++-4.4.7-16.el6.x86_64
devtoolset-1.1-gcc-c++-4.7.2-5.el6.x86_64
../node_modules/nan/nan.h:41:3: error: #error This version of node/NAN/v8 requires a C++11 compilerIn file included from /usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/.node-gyp/4.4.0/include/node/node.h:42,
When I look at my gcc packages, I seem to have what I need for this install/build to run correctly:rpm -qa | grep "gcc-c++"gcc-c++-4.4.7-16.el6.x86_64devtoolset-1.1-gcc-c++-4.7.2-5.el6.x86_64Any thoughts?
~Ryan