I am still having issues with this. Seems like *[email protected] *is causing a failure when running the install. I am running the install by initiating *npm install -g local-npm *but get the following error each time. I highlighted what seems to be the issue:
In 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 compiler > > In 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 scope > > In 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 ‘<’ token > > In 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 >> type > > In 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 type > > In 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 type > > In 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 type > > In 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 type > > In 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 scope > > In 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 > > In 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 1 > > make: Leaving directory >> `/usr/local/lib/node_modules/local-npm/node_modules/pouchdb/node_modules/leveldown/build' > > prebuild ERR! build error > > prebuild ERR! stack Error: `make` failed with exit code: 2 > > prebuild 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 ok > > prebuild ERR! build Error: `make` failed with exit code: 2 > > prebuild 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) > > >> > [email protected] 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 remote > > npm WARN optional dep failed, continuing [email protected] > > npm ERR! Linux 2.6.32-431.29.2.el6.x86_64 > > npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" >> "local-npm" > > npm ERR! node v4.4.0 > > npm ERR! npm v2.14.20 > > npm ERR! code ELIFECYCLE > > >> npm ERR! [email protected] install: `prebuild --install` > > npm ERR! Exit status 2 > > npm ERR! > > npm ERR! Failed at the [email protected] 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 --install > > npm ERR! You can get information on how to open an issue for this project >> with: > > npm ERR! npm bugs leveldown > > npm ERR! Or if that isn't available, you can get their info via: > > npm ERR! > > npm ERR! npm owner ls leveldown > > npm 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 > > 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_64 devtoolset-1.1-gcc-c++-4.7.2-5.el6.x86_64 Any thoughts? > On Sunday, March 6, 2016 at 4:38:24 PM UTC-5, Gilberto Valentin wrote: > > Hi, > > I have been for a few days to install log.io using NPM on several systems > that have no access to the internet at all. I used a system with internet > access to obtain the following binaries: > > - node > - npm > > I then downloaded the latest version of *npmbox *from github in order to > package some apps for my offline systems: > > - npmbox => v 2.3.0 > > I obtained the above binaries from nodejs.org. The system with internet > access is OS X. On my OS X system, I have the following versions: > > - node => v 4.3.2 > - npm => v 2.14.12 > > I proceeded by downloading *node 4.3.2 *from nodejs.org for Linux since > my offline systems are RHEL 6. I untarred the Linux binary on my offline > systems and I am able to see and use *node *and *npm*. The next step was > to go back to my online system, which is my OS X laptop, and then run the > following to package two apps: > > - npmbox {npmbox [email protected]} > - I installed version 1.0.0 because I read that there are issues > with the later version still trying to go to the net to download > packages. > So this is the version I placed on the servers while v 2.3.0 is what I > use > on OS X > - log.io {npmbox log.io} > > I was left with two packages files: > > - npmbox.npmbox > - log.io.npmbox > > I copied both files to my offline servers and successfully ran the install > of npmbox.npmbox in this manner: > > npm install --verbose --global --cache ./.npmbox.cache --optional --cache-min > 99999 --shrinkwrap false [email protected] > > I also tried it without *--shrinkwrap false:* > > npm install --verbose --global --cache ./.npmbox.cache --optional --cache-min > 99999 [email protected] > > > Now, when I try to run *npmunbox *for *log.io.npmbox*, it fails because > it is still trying to go out to the net. I ran *npm cache clean* to see > if that would fix the issue but it still fails because it attempts to go > out to the net to install log.io. Here is how I ran it and the issue I > get back: > > 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 npm > npm WARN deprecated registry. Consider upgrading to at least npm@2, if not > the > npm WARN deprecated latest stable version. To upgrade to npm@2, run: > npm WARN deprecated > npm WARN deprecated npm -g install npm@latest-2 > npm WARN deprecated > npm WARN deprecated To upgrade to the latest stable version, run: > npm WARN deprecated > npm WARN deprecated npm -g install npm@latest > npm WARN deprecated > npm WARN deprecated (Depending on how Node.js was installed on your > system, you > npm WARN deprecated may need to prefix the preceding commands with `sudo`, > or if > npm WARN deprecated on Windows, run them from an Administrator prompt.) > npm WARN deprecated > npm WARN deprecated If you're running the version of npm bundled with > npm WARN deprecated Node.js 0.10 LTS, be aware that the next version of > 0.10 LTS > npm WARN deprecated will be bundled with a version of npm@2, which has > some small > npm WARN deprecated backwards-incompatible changes made to `npm > run-script` and > npm WARN deprecated semver behavior. > Installing log.io... > npm http GET https://registry.npmjs.org/log.io > npm http GET https://registry.npmjs.org/log.io > npm http GET https://registry.npmjs.org/log.io > / > Cleaning Up... > > npmunbox had the following errors... > Unable to install log.io.npmbox from log.io > > I am running the following versions on the offline servers: > > - node => v4.3.2 > - npm => v2.14.2 > - npmbox => 1.0.0 > > I still can't figure out why it keeps attempting to go out to the internet > instead of using the package I am specifying. What am I missing here? > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/ccf9fba0-ac3e-484a-9c09-8ffd8a69ea34%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
