Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when try to install in Centos #6

Open
eseceve opened this issue Jan 21, 2016 · 2 comments
Open

Error when try to install in Centos #6

eseceve opened this issue Jan 21, 2016 · 2 comments

Comments

@eseceve
Copy link

eseceve commented Jan 21, 2016

$ sudo npm i sprity-lwip
npm http GET https://registry.npmjs.org/sprity-lwip
npm http 304 https://registry.npmjs.org/sprity-lwip
npm http GET https://registry.npmjs.org/lwip/0.0.8
npm http 304 https://registry.npmjs.org/lwip/0.0.8
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/decree/0.0.6
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/decree/0.0.6
npm http GET https://registry.npmjs.org/lodash-node
npm http 304 https://registry.npmjs.org/lodash-node
npm WARN deprecated lodash-node@2.4.1: This package is no longer maintained. See its readme for upgrade details.

> lwip@0.0.8 install /.../node_modules/sprity/node_modules/sprity-lwip/node_modules/lwip
> node-gyp rebuild

make: Entering directory `/.../node_modules/sprity/node_modules/sprity-lwip/node_modules/lwip/build'
  CXX(target) Release/obj.target/lwip_decoder/src/decoder/init.o
In file included from ../src/decoder/decoder.h:13,
                 from ../src/decoder/init.cpp:1:
../node_modules/nan/nan.h:316: error: 'REPLACE_INVALID_UTF8' is not a member of 'v8::String'
make: *** [Release/obj.target/lwip_decoder/src/decoder/init.o] Error 1
make: Leaving directory `/.../node_modules/sprity/node_modules/sprity-lwip/node_modules/lwip/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 2.6.32-431.el6.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /.../node_modules/sprity/node_modules/sprity-lwip/node_modules/lwip
gyp ERR! node -v v0.10.36
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok
npm WARN optional dep failed, continuing sprity-lwip@1.0.6
@eseceve
Copy link
Author

eseceve commented Jan 21, 2016

And if a try without sudo

$ npm i sprity-lwip
npm WARN deprecated lodash-node@2.4.1: This package is no longer maintained. See its readme for upgrade details.

> lwip@0.0.8 install /home/eseceve/yapo_cl/node_modules/sprity/node_modules/sprity-lwip/node_modules/lwip
> node-gyp rebuild

make: Entering directory `/home/eseceve/yapo_cl/node_modules/sprity/node_modules/sprity-lwip/node_modules/lwip/build'
  CXX(target) Release/obj.target/lwip_decoder/src/decoder/init.o
In file included from /home/eseceve/.node-gyp/4.2.4/include/node/node.h:43,
                 from ../src/decoder/decoder.h:12,
                 from ../src/decoder/init.cpp:2:
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:336: error: expected unqualified-id before 'using'
In file included from /home/eseceve/.node-gyp/4.2.4/include/node/node.h:43,
                 from ../src/decoder/decoder.h:12,
                 from ../src/decoder/init.cpp:2:
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h: In constructor 'v8::MaybeLocal<T>::MaybeLocal()':
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:353: error: 'nullptr' was not declared in this scope
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h: In member function 'bool v8::MaybeLocal<T>::IsEmpty() const':
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:360: error: 'nullptr' was not declared in this scope
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h: In member function 'bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const':
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:364: error: 'nullptr' was not declared in this scope
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h: In member function 'bool v8::WeakCallbackInfo<T>::IsFirstPass() const':
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:430: error: 'nullptr' was not declared in this scope
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h: At global scope:
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:469: error: expected unqualified-id before 'using'
In file included from /home/eseceve/.node-gyp/4.2.4/include/node/node.h:43,
                 from ../src/decoder/decoder.h:12,
                 from ../src/decoder/init.cpp:2:
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h: In constructor 'v8::Global<T>::Global()':
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:790: error: 'nullptr' was not declared in this scope
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h: In constructor 'v8::Global<T>::Global(v8::Global<T>&&)':
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:815: error: 'nullptr' was not declared in this scope
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h: In member function 'v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)':
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:827: error: 'nullptr' was not declared in this scope
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h: At global scope:
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:852: error: expected unqualified-id before 'using'
In file included from /home/eseceve/.node-gyp/4.2.4/include/node/node.h:43,
                 from ../src/decoder/decoder.h:12,
                 from ../src/decoder/init.cpp:2:
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:1089: error: 'nullptr' was not declared in this scope
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:1095: error: 'nullptr' was not declared in this scope
In file included from /home/eseceve/.node-gyp/4.2.4/include/node/node.h:43,
                 from ../src/decoder/decoder.h:12,
                 from ../src/decoder/init.cpp:2:
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h: In member function 'v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const':
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:3205: error: 'nullptr' was not declared in this scope
In file included from /home/eseceve/.node-gyp/4.2.4/include/node/node.h:43,
                 from ../src/decoder/decoder.h:12,
                 from ../src/decoder/init.cpp:2:
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h: In member function 'v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()':
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:7164: error: 'nullptr' was not declared in this scope
In file included from ../node_modules/nan/nan.h:183,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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:60: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:65: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:70: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:77: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:84: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:92: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:99: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:109: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:115: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:119: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:126: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:131: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:136: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:140: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:146: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:151: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:157: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:163: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:169: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:175: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:181: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:187: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:195: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:202: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:206: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:210: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:214: error: expected initializer before '<' token
../node_modules/nan/nan_maybe_43_inl.h:218: error: expected initializer before '<' token
In file included from ../node_modules/nan/nan.h:188,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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
In file included from ../node_modules/nan/nan.h:188,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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
In file included from ../node_modules/nan/nan.h:188,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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
In file included from ../node_modules/nan/nan.h:188,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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:60,
                 from ../node_modules/nan/nan.h:188,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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
In file included from ../node_modules/nan/nan_converters.h:60,
                 from ../node_modules/nan/nan.h:188,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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:189,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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:190,
                 from ../node_modules/nan/nan.h:189,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../node_modules/nan/nan_implementation_12_inl.h:56: error: 'return_t' in class 'Nan::imp::Factory<v8::Date>' does not name a type
In file included from ../node_modules/nan/nan_new.h:190,
                 from ../node_modules/nan/nan.h:189,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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
In file included from ../node_modules/nan/nan_new.h:190,
                 from ../node_modules/nan/nan.h:189,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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
In file included from ../node_modules/nan/nan_new.h:190,
                 from ../node_modules/nan/nan.h:189,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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
In file included from ../node_modules/nan/nan_new.h:190,
                 from ../node_modules/nan/nan.h:189,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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
In file included from ../node_modules/nan/nan_new.h:190,
                 from ../node_modules/nan/nan.h:189,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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:189,
                 from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../node_modules/nan/nan_new.h:291: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:297: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:303: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:309: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:315: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:321: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:327: error: 'return_t' in class 'Nan::imp::Factory<v8::RegExp>' does not name a type
In file included from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::Error(const char*)':
../node_modules/nan/nan.h:639: 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:639: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
In file included from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::RangeError(const char*)':
../node_modules/nan/nan.h:640: 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:640: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
In file included from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::ReferenceError(const char*)':
../node_modules/nan/nan.h:641: 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:641: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
In file included from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::SyntaxError(const char*)':
../node_modules/nan/nan.h:642: 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:642: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
In file included from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::TypeError(const char*)':
../node_modules/nan/nan.h:643: 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:643: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
In file included from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:651: error: expected initializer before '<' token
In file included from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../node_modules/nan/nan.h:673: error: expected initializer before '<' token
../node_modules/nan/nan.h:689: error: expected initializer before '<' token
../node_modules/nan/nan.h:702: error: expected initializer before '<' token
../node_modules/nan/nan.h:719: error: expected initializer before '<' token
../node_modules/nan/nan.h:725: error: expected initializer before '<' token
../node_modules/nan/nan.h:733: error: expected initializer before '<' token
../node_modules/nan/nan.h:740: error: expected initializer before '<' token
../node_modules/nan/nan.h:746: error: expected initializer before '<' token
In file included from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h: In member function 'void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)':
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:3021: error: argument dependent lookup finds 'class v8::Set'
../node_modules/nan/nan.h:1366: error:   in call to 'Set'
In file included from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)':
../node_modules/nan/nan.h:1488: 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:1506: 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:1540: error: no matching function for call to 'New(const char*)'
In file included from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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:1829: 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:1829: 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:1830: 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:1842: error: 'GetFunction' was not declared in this scope
../node_modules/nan/nan.h:1843: 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:1868: 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:1911: 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:1959: error: 'NewInstance' was not declared in this scope
In file included from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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:2029: error: 'NewInstance' was not declared in this scope
In file included from ../src/decoder/decoder.h:14,
                 from ../src/decoder/init.cpp:2:
../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:2090: error: no matching function for call to 'New(const char*&)'
../node_modules/nan/nan.h:2091: error: 'GetFunction' was not declared in this scope
/home/eseceve/.node-gyp/4.2.4/include/node/v8.h:3021: error: argument dependent lookup finds 'class v8::Set'
../node_modules/nan/nan.h:2091: error:   in call to 'Set'
../node_modules/nan/nan.h: In constructor 'Nan::Tap::Tap(v8::Local<v8::Value>)':
../node_modules/nan/nan.h:2098: 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:2111: 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:2117: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
In file included from ../src/decoder/init.cpp:2:
../src/decoder/decoder.h: At global scope:
../src/decoder/decoder.h:91: error: variable or field 'initAll' declared void
../src/decoder/decoder.h:91: error: 'Handle' was not declared in this scope
../src/decoder/decoder.h:91: error: expected primary-expression before '>' token
../src/decoder/decoder.h:91: error: 'exports' was not declared in this scope
make: *** [Release/obj.target/lwip_decoder/src/decoder/init.o] Error 1
make: Leaving directory `/home/eseceve/yapo_cl/node_modules/sprity/node_modules/sprity-lwip/node_modules/lwip/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/eseceve/.nvm/versions/node/v4.2.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 2.6.32-431.el6.x86_64
gyp ERR! command "/home/eseceve/.nvm/versions/node/v4.2.4/bin/node" "/home/eseceve/.nvm/versions/node/v4.2.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/eseceve/yapo_cl/node_modules/sprity/node_modules/sprity-lwip/node_modules/lwip
gyp ERR! node -v v4.2.4
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing sprity-lwip@1.0.6

@c0un7-z3r0
Copy link

c0un7-z3r0 commented Sep 15, 2016

I had the same issue and I fixed it with installing a new versions gcc (I think > 4.8) and python2.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants