Skip to content

Instantly share code, notes, and snippets.

@puzankov
Created September 25, 2015 12:00
Show Gist options
  • Save puzankov/8dd9bba01a87fe62af77 to your computer and use it in GitHub Desktop.
Save puzankov/8dd9bba01a87fe62af77 to your computer and use it in GitHub Desktop.
node-gyp error
> png-img@1.1.4 install /home/puzankov/ui/node_modules/png-img
> node-gyp rebuild
make: Entering directory `/home/puzankov/ui/node_modules/png-img/build'
CC(target) Release/obj.target/libpng/third_party/libpng/png.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngerror.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngget.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngmem.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngpread.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngread.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngrio.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngrtran.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngrutil.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngset.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngtest.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngtrans.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngwio.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngwrite.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngwtran.o
CC(target) Release/obj.target/libpng/third_party/libpng/pngwutil.o
AR(target) Release/obj.target/third_party/libpng/png.a
COPY Release/png.a
CC(target) Release/obj.target/zlib/third_party/zlib/adler32.o
CC(target) Release/obj.target/zlib/third_party/zlib/compress.o
CC(target) Release/obj.target/zlib/third_party/zlib/crc32.o
CC(target) Release/obj.target/zlib/third_party/zlib/deflate.o
CC(target) Release/obj.target/zlib/third_party/zlib/gzclose.o
CC(target) Release/obj.target/zlib/third_party/zlib/gzlib.o
CC(target) Release/obj.target/zlib/third_party/zlib/gzread.o
CC(target) Release/obj.target/zlib/third_party/zlib/gzwrite.o
CC(target) Release/obj.target/zlib/third_party/zlib/infback.o
CC(target) Release/obj.target/zlib/third_party/zlib/inffast.o
CC(target) Release/obj.target/zlib/third_party/zlib/inflate.o
CC(target) Release/obj.target/zlib/third_party/zlib/inftrees.o
CC(target) Release/obj.target/zlib/third_party/zlib/trees.o
CC(target) Release/obj.target/zlib/third_party/zlib/uncompr.o
CC(target) Release/obj.target/zlib/third_party/zlib/zutil.o
AR(target) Release/obj.target/third_party/zlib/zlib.a
COPY Release/zlib.a
CXX(target) Release/obj.target/png_img/src/init.o
In file included from /home/puzankov/.node-gyp/4.0.0/include/node/node.h:42,
from ../node_modules/nan/nan.h:24,
from ../src/init.cc:1:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:336: ошибка: expected unqualified-id before ‘using’
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h: In constructor ‘v8::MaybeLocal<T>::MaybeLocal()’:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:353: ошибка: нет декларации ‘nullptr’ в этой области видимости
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::IsEmpty() const’:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:360: ошибка: нет декларации ‘nullptr’ в этой области видимости
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const’:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:364: ошибка: нет декларации ‘nullptr’ в этой области видимости
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const’:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:430: ошибка: нет декларации ‘nullptr’ в этой области видимости
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h: At global scope:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:469: ошибка: expected unqualified-id before ‘using’
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global()’:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:790: ошибка: нет декларации ‘nullptr’ в этой области видимости
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global(v8::Global<T>&&)’:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:815: ошибка: нет декларации ‘nullptr’ в этой области видимости
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h: In member function ‘v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)’:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:827: ошибка: нет декларации ‘nullptr’ в этой области видимости
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h: At global scope:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:852: ошибка: expected unqualified-id before ‘using’
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:1089: ошибка: нет декларации ‘nullptr’ в этой области видимости
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:1095: ошибка: нет декларации ‘nullptr’ в этой области видимости
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h: In member function ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:3205: ошибка: нет декларации ‘nullptr’ в этой области видимости
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h: In member function ‘v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()’:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:7151: ошибка: нет декларации ‘nullptr’ в этой области видимости
In file included from ../node_modules/nan/nan.h:182,
from ../src/init.cc:1:
../node_modules/nan/nan_maybe_43_inl.h: At global scope:
../node_modules/nan/nan_maybe_43_inl.h:13: ошибка: expected unqualified-id before ‘using’
../node_modules/nan/nan_maybe_43_inl.h:16: ошибка: expected unqualified-id before ‘using’
../node_modules/nan/nan_maybe_43_inl.h:19: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:24: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:31: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:36: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:41: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:46: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:51: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:60: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:65: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:70: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:77: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:84: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:92: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:99: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:109: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:115: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:119: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:126: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:131: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:136: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:140: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:146: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:151: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:157: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:163: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:169: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:175: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:181: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:187: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:195: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:202: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:206: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:210: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:214: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan_maybe_43_inl.h:218: ошибка: expected initializer before ‘<’ token
In file included from ../node_modules/nan/nan.h:187,
from ../src/init.cc:1:
../node_modules/nan/nan_converters.h:14: ошибка: ISO C++ запрещает декларации ‘MaybeLocal’ без типа
../node_modules/nan/nan_converters.h:14: ошибка: expected ‘;’ before ‘<’ token
../node_modules/nan/nan_converters.h:16: ошибка: ISO C++ запрещает декларации ‘Maybe’ без типа
../node_modules/nan/nan_converters.h:16: ошибка: expected ‘;’ before ‘<’ token
../node_modules/nan/nan_converters.h:26: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:27: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:28: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:29: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:30: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:31: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:32: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:42: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:43: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:44: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:45: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_converters.h:46: ошибка: ‘return_t’ does not name a type
In file included from ../node_modules/nan/nan_converters.h:59,
from ../node_modules/nan/nan.h:187,
from ../src/init.cc:1:
../node_modules/nan/nan_converters_43_inl.h:18: ошибка: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Boolean>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:19: ошибка: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Number>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:20: ошибка: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::String>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:21: ошибка: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Object>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:22: ошибка: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Integer>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:23: ошибка: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Uint32>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:24: ошибка: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Int32>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:34: ошибка: ‘return_t’ in class ‘Nan::imp::ToFactory<bool>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:35: ошибка: ‘return_t’ in class ‘Nan::imp::ToFactory<double>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:36: ошибка: ‘return_t’ in class ‘Nan::imp::ToFactory<long int>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:37: ошибка: ‘return_t’ in class ‘Nan::imp::ToFactory<unsigned int>’ does not name a type
../node_modules/nan/nan_converters_43_inl.h:38: ошибка: ‘return_t’ in class ‘Nan::imp::ToFactory<int>’ does not name a type
In file included from ../node_modules/nan/nan.h:188,
from ../src/init.cc:1:
../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: ошибка: нет соответствующей функции для вызова ‘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: ошибка: нет соответствующей функции для вызова ‘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: ошибка: нет соответствующей функции для вызова ‘To(v8::Local<v8::Integer>&)’
../node_modules/nan/nan_new.h: At global scope:
../node_modules/nan/nan_new.h:43: ошибка: ISO C++ запрещает декларации ‘MaybeLocal’ без типа
../node_modules/nan/nan_new.h:43: ошибка: expected ‘;’ before ‘<’ token
../node_modules/nan/nan_new.h:75: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:141: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:147: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:148: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:160: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:161: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:162: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:163: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:165: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:166: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:182: ошибка: ‘return_t’ does not name a type
../node_modules/nan/nan_new.h:183: ошибка: ‘return_t’ does not name a type
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:188,
from ../src/init.cc:1:
../node_modules/nan/nan_implementation_12_inl.h:56: ошибка: ‘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: ошибка: нет декларации ‘NewInstance’ в этой области видимости
../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: ошибка: нет декларации ‘NewInstance’ в этой области видимости
../node_modules/nan/nan_implementation_12_inl.h: At global scope:
../node_modules/nan/nan_implementation_12_inl.h:197: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::RegExp>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:216: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::Script>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:222: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::Script>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:254: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:262: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:268: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:275: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:281: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:286: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:347: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::UnboundScript>’ does not name a type
../node_modules/nan/nan_implementation_12_inl.h:354: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::UnboundScript>’ does not name a type
In file included from ../node_modules/nan/nan.h:188,
from ../src/init.cc:1:
../node_modules/nan/nan_new.h:291: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:297: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:303: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:309: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:315: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:321: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../node_modules/nan/nan_new.h:327: ошибка: ‘return_t’ in class ‘Nan::imp::Factory<v8::RegExp>’ does not name a type
In file included from ../src/init.cc:1:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:
../node_modules/nan/nan.h:639: ошибка: ‘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: ошибка: ‘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:640: ошибка: ‘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: ошибка: ‘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:641: ошибка: ‘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: ошибка: ‘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:642: ошибка: ‘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: ошибка: ‘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:643: ошибка: ‘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: ошибка: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:651: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan.h:673: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan.h:689: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan.h:702: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan.h:719: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan.h:725: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan.h:733: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan.h:740: ошибка: expected initializer before ‘<’ token
../node_modules/nan/nan.h:746: ошибка: expected initializer before ‘<’ token
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:3021: ошибка: argument dependent lookup finds ‘class v8::Set’
../node_modules/nan/nan.h:1366: ошибка: в вызове ‘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:1488: ошибка: ‘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: ошибка: ‘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: ошибка: нет соответствующей функции для вызова ‘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:1829: ошибка: ‘GetFunction’ не имеет аргументов, зависящих от параметра-шаблона, поэтому должна быть доступна декларация ‘GetFunction’
../node_modules/nan/nan.h:1829: замечание: (с ключом ‘-fpermissive’, G++ примет данный код, но разрешение использовать недекларированные имена будет отменено в дальнейших версиях)
../node_modules/nan/nan.h:1830: ошибка: ‘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: ошибка: нет декларации ‘GetFunction’ в этой области видимости
../node_modules/nan/nan.h:1843: ошибка: ‘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: ошибка: нет декларации ‘NewInstance’ в этой области видимости
../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: ошибка: нет декларации ‘NewInstance’ в этой области видимости
../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: ошибка: нет декларации ‘NewInstance’ в этой области видимости
../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: ошибка: нет декларации ‘NewInstance’ в этой области видимости
In file included from ../src/init.cc:1:
../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: ошибка: нет соответствующей функции для вызова ‘New(const char*&)’
../node_modules/nan/nan.h:2091: ошибка: нет декларации ‘GetFunction’ в этой области видимости
/home/puzankov/.node-gyp/4.0.0/include/node/v8.h:3021: ошибка: argument dependent lookup finds ‘class v8::Set’
../node_modules/nan/nan.h:2091: ошибка: в вызове ‘Set’
../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:
../node_modules/nan/nan.h:2098: ошибка: нет соответствующей функции для вызова ‘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: ошибка: ‘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: ошибка: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/memory:83,
from ../src/././PngImg.h:6,
from ../src/./PngImgAdapter.h:7,
from ../src/init.cc:2:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In member function ‘virtual void* std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp>::_M_get_deleter(const std::type_info&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:146: ошибка: использование идентификатора типа с ключом -fno-rtti недопустимо
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In member function ‘virtual void* std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_M_get_deleter(const std::type_info&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:204: ошибка: использование идентификатора типа с ключом -fno-rtti недопустимо
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In constructor ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, _Alloc, _Args&& ...)’:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:861: ошибка: использование идентификатора типа с ключом -fno-rtti недопустимо
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In function ‘_Del* std::get_deleter(const std::__shared_ptr<_Tp2, _Lp>&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:1005: ошибка: использование идентификатора типа с ключом -fno-rtti недопустимо
../src/init.cc: In function ‘void InitAll(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/init.cc:10: ошибка: ‘Set’ is not a member of ‘Nan’
../src/init.cc:10: ошибка: нет соответствующей функции для вызова ‘New(const char [7])’
make: *** [Release/obj.target/png_img/src/init.o] Ошибка 1
make: Leaving directory `/home/puzankov/ui/node_modules/png-img/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/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-504.8.1.el6.x86_64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/puzankov/ui/node_modules/png-img
gyp ERR! node -v v4.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN EPEERINVALID karma-phantomjs-launcher@0.2.1 requires a peer of phantomjs@>=1.9 but none was installed.
npm ERR! Linux 2.6.32-504.8.1.el6.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "png-img"
npm ERR! node v4.0.0
npm ERR! npm v3.3.4
npm ERR! code ELIFECYCLE
npm ERR! png-img@1.1.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the png-img@1.1.4 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the png-img package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls png-img
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/puzankov/ui/npm-debug.log
@puzankov
Copy link
Author

puzankov commented Nov 2, 2015

Solve this by updating gcc / g++

gcc version 4.7.2 20121015 (Red Hat 4.7.2-5) (GCC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment