Comments (3)
Just compiled it fine under Windows x64.
Looks like this is your problem: http://stackoverflow.com/questions/18777882/node-gyp-error-while-doing-npm-install
Install the latest non-pre release.
from node-bignum.
I had that exact proble with bignum
while trying to install merged_pooler
. Tried again with another Windows Server with Nodejs 5.3 (stable) and still doesn't compile. Still trying other server configs.
Tried:
- Windows 7 Pro x64, trial, 2Gb ram
- Windows Server 2012 R2 x64 2Gb ram
Both with node-gyp configure build
Error.
@Patman64 can u upload compiled stuff to any internet share service?
from node-bignum.
I'm still seeing this issue
warning Error running install script for optional dependency: "/Users/doliveira/repos/hbui/app_hbui/node_modules/bignum: Command failed.\nExit code: 1\nCommand: node-gyp configure build\nArguments: \nDirectory: /Users/doliveira/repos/hbui/app_hbui/node_modules/bignum\nOutput:\ngyp info it worked if it ends with ok\ngyp info using [email protected]\ngyp info using [email protected] | darwin | x64\ngyp info spawn /usr/bin/python\ngyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',\ngyp info spawn args 'binding.gyp',\ngyp info spawn args '-f',\ngyp info spawn args 'make',\ngyp info spawn args '-I',\ngyp info spawn args '/Users/doliveira/repos/hbui/app_hbui/node_modules/bignum/build/config.gypi',\ngyp info spawn args '-I',\ngyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',\ngyp info spawn args '-I',\ngyp info spawn args '/Users/doliveira/.node-gyp/6.9.5/include/node/common.gypi',\ngyp info spawn args '-Dlibrary=shared_library',\ngyp info spawn args '-Dvisibility=default',\ngyp info spawn args '-Dnode_root_dir=/Users/doliveira/.node-gyp/6.9.5',\ngyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',\ngyp info spawn args '-Dnode_lib_file=/Users/doliveira/.node-gyp/6.9.5/<(target_arch)/node.lib',\ngyp info spawn args '-Dmodule_root_dir=/Users/doliveira/repos/hbui/app_hbui/node_modules/bignum',\ngyp info spawn args '-Dnode_engine=v8',\ngyp info spawn args '--depth=.',\ngyp info spawn args '--no-parallel',\ngyp info spawn args '--generator-output',\ngyp info spawn args 'build',\ngyp info spawn args '-Goutput_dir=.' ]\nxcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance\n\nxcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance\n\ngyp info spawn make\ngyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]\n CXX(target) Release/obj.target/bignum/bignum.o\nIn file included from ../bignum.cc:8:\nIn file included from ../node_modules/nan/nan.h:82:\n../node_modules/nan/nan_new.h:34:56: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]\nTo<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:8202:21: note: 'ToInt32' has been explicitly marked deprecated here\nLocal<Int32> Value::ToInt32() const {\n ^\nIn file included from ../bignum.cc:8:\nIn file included from ../node_modules/nan/nan.h:82:\n../node_modules/nan/nan_new.h:39:56: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]\nTo<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:8196:22: note: 'ToUint32' has been explicitly marked deprecated here\nLocal<Uint32> Value::ToUint32() const {\n ^\nIn file included from ../bignum.cc:8:\nIn file included from ../node_modules/nan/nan.h:82:\nIn file included from ../node_modules/nan/nan_new.h:189:\n../node_modules/nan/nan_implementation_12_inl.h:49:29: warning: 'New' is deprecated [-Wdeprecated-declarations]\n return v8::BooleanObject::New(value).As<v8::BooleanObject>();\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:4007:56: note: 'New' has been explicitly marked deprecated here\n V8_DEPRECATED(\"Pass an isolate\", static Local<Value> New(bool value));\n ^\nIn file included from ../bignum.cc:8:\nIn file included from ../node_modules/nan/nan.h:82:\nIn file included from ../node_modules/nan/nan_new.h:189:\n../node_modules/nan/nan_implementation_12_inl.h:166:30: warning: 'Compile' is deprecated [-Wdeprecated-declarations]\n return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here\n Local<Script> Compile(Isolate* isolate, Source* source,\n ^\nIn file included from ../bignum.cc:8:\nIn file included from ../node_modules/nan/nan.h:82:\nIn file included from ../node_modules/nan/nan_new.h:189:\n../node_modules/nan/nan_implementation_12_inl.h:173:30: warning: 'Compile' is deprecated [-Wdeprecated-declarations]\n return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here\n Local<Script> Compile(Isolate* isolate, Source* source,\n ^\nIn file included from ../bignum.cc:8:\nIn file included from ../node_modules/nan/nan.h:82:\nIn file included from ../node_modules/nan/nan_new.h:189:\n../node_modules/nan/nan_implementation_12_inl.h:205:22: warning: 'NewFromOneByte' is deprecated [-Wdeprecated-declarations]\n return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), value,\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:2334:21: note: 'NewFromOneByte' has been explicitly marked deprecated here\n Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,\n ^\nIn file included from ../bignum.cc:8:\nIn file included from ../node_modules/nan/nan.h:82:\nIn file included from ../node_modules/nan/nan_new.h:189:\n../node_modules/nan/nan_implementation_12_inl.h:217:22: warning: 'NewExternal' is deprecated [-Wdeprecated-declarations]\n return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:2372:38: note: 'NewExternal' has been explicitly marked deprecated here\n Local<String> NewExternal(\n ^\nIn file included from ../bignum.cc:8:\nIn file included from ../node_modules/nan/nan.h:82:\nIn file included from ../node_modules/nan/nan_new.h:189:\n../node_modules/nan/nan_implementation_12_inl.h:237:30: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]\n return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:1334:45: note: 'CompileUnbound' has been explicitly marked deprecated here\n Local<UnboundScript> CompileUnbound(\n ^\nIn file included from ../bignum.cc:8:\nIn file included from ../node_modules/nan/nan.h:82:\nIn file included from ../node_modules/nan/nan_new.h:189:\n../node_modules/nan/nan_implementation_12_inl.h:244:30: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]\n return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:1334:45: note: 'CompileUnbound' has been explicitly marked deprecated here\n Local<UnboundScript> CompileUnbound(\n ^\nIn file included from ../bignum.cc:8:\n../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'\nNAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {\n ^\n../node_modules/nan/nan.h:256:25: note: previous definition is here\nNAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {\n ^\n../node_modules/nan/nan.h:289:39: warning: 'IdleNotification' is deprecated [-Wdeprecated-declarations]\n return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:6114:22: note: 'IdleNotification' has been explicitly marked deprecated here\n bool IdleNotification(int idle_time_in_ms));\n ^\nIn file included from ../bignum.cc:8:\n../node_modules/nan/nan.h:473:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'\n v8::Isolate::GCEpilogueCallback callback\n ~~~~~~~~~~~~~^\n../node_modules/nan/nan.h:479:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'\n v8::Isolate::GCEpilogueCallback callback) {\n ~~~~~~~~~~~~~^\n../node_modules/nan/nan.h:484:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'\n v8::Isolate::GCPrologueCallback callback\n ~~~~~~~~~~~~~^\n../node_modules/nan/nan.h:490:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'\n v8::Isolate::GCPrologueCallback callback) {\n ~~~~~~~~~~~~~^\n../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'\n , node::smalloc::FreeCallback callback\n ~~~~~~^\n../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'\n return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\n ^~~~~~~~~~~~~~~~~\n/Users/doliveira/.node-gyp/6.9.5/include/node/node_buffer.h:46:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/node_buffer.h:34:40: note: candidate function not viable: no known conversion from 'const char *' to 'v8::Local<v8::String>' for 2nd argument\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/node_buffer.h:31:40: note: candidate function not viable: requires 2 arguments, but 3 were provided\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/node_buffer.h:39:40: note: candidate function not viable: requires 5 arguments, but 3 were provided\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\n ^\nIn file included from ../bignum.cc:8:\n../node_modules/nan/nan.h:676:12: error: no viable conversion from returned value of type 'v8::MaybeLocal<v8::Object>' to function return type 'v8::Local<v8::Object>'\n return node::Buffer::New(v8::Isolate::GetCurrent(), size);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:218:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument\nclass Local {\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:218:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:222:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'\n V8_INLINE Local(Local<S> that)\n ^\nIn file included from ../bignum.cc:8:\n../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'\n return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);\n ~~~~~~~~~~~~~~^\n../node_modules/nan/nan.h:710:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]\n return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here\n Local<Script> Compile(Isolate* isolate, Source* source,\n ^\nIn file included from ../bignum.cc:8:\n../node_modules/nan/nan.h:717:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]\n return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here\n Local<Script> Compile(Isolate* isolate, Source* source,\n ^\n../bignum.cc:254:3: error: call to 'NODE_SET_METHOD' is ambiguous\n NODE_SET_METHOD(tmpl, \"uprime0\", Uprime0);\n ^~~~~~~~~~~~~~~\n/Users/doliveira/.node-gyp/6.9.5/include/node/node.h:269:25: note: expanded from macro 'NODE_SET_METHOD'\n#define NODE_SET_METHOD node::NODE_SET_METHOD\n ^~~~~~~~~~~~~~~~~~~~~\n/Users/doliveira/.node-gyp/6.9.5/include/node/node.h:244:13: note: candidate function\ninline void NODE_SET_METHOD(v8::Local<v8::Template> recv,\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/node.h:257:13: note: candidate function\ninline void NODE_SET_METHOD(v8::Local<v8::Object> recv,\n ^\n../bignum.cc:370:24: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n GetFunction()->NewInstance(len, newArgs);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:397:50: warning: 'ToNumber' is deprecated [-Wdeprecated-declarations]\n base = obj->ToObject()->Get(NanNew(\"base\"))->ToNumber()->Value();\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:8166:22: note: 'ToNumber' has been explicitly marked deprecated here\nLocal<Number> Value::ToNumber() const {\n ^\n../bignum.cc:449:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:464:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:480:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:496:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:511:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:526:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:541:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:556:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:571:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:586:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:600:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:614:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:630:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:645:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:662:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:685:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:707:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:722:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:731:3: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]\n REQ_UINT32_ARG(0, x);\n ^\n../bignum.cc:44:27: note: expanded from macro 'REQ_UINT32_ARG'\n uint32_t VAR = args[I]->ToUint32()->Value();\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:8196:22: note: 'ToUint32' has been explicitly marked deprecated here\nLocal<Uint32> Value::ToUint32() const {\n ^\n../bignum.cc:738:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:750:3: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]\n REQ_UINT32_ARG(0, reps);\n ^\n../bignum.cc:44:27: note: expanded from macro 'REQ_UINT32_ARG'\n uint32_t VAR = args[I]->ToUint32()->Value();\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:8196:22: note: 'ToUint32' has been explicitly marked deprecated here\nLocal<Uint32> Value::ToUint32() const {\n ^\n../bignum.cc:761:3: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]\n REQ_UINT32_ARG(0, n);\n ^\n../bignum.cc:44:27: note: expanded from macro 'REQ_UINT32_ARG'\n uint32_t VAR = args[I]->ToUint32()->Value();\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:8196:22: note: 'ToUint32' has been explicitly marked deprecated here\nLocal<Uint32> Value::ToUint32() const {\n ^\n../bignum.cc:877:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:914:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:963:3: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]\n WRAP_RESULT(res, result);\n ^\n../bignum.cc:70:20: note: expanded from macro 'WRAP_RESULT'\n GetFunction()->NewInstance(1, arg);\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:3270:31: note: 'NewInstance' has been explicitly marked deprecated here\n Local<Object> NewInstance(int argc, Local<Value> argv[]) const);\n ^\n../bignum.cc:991:36: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]\n unsigned int nCompact = args[0]->ToUint32()->Value();\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:8196:22: note: 'ToUint32' has been explicitly marked deprecated here\nLocal<Uint32> Value::ToUint32() const {\n ^\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:229:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'\n TYPE_CHECK(T, S);\n ^~~~~~~~~~~~~~~~\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:188:37: note: expanded from macro 'TYPE_CHECK'\n *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \\\n ^ ~~~~~~~~~~~~~~~~~~\n../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here\n return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));\n ^\n../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'\n# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\n ^\nIn file included from ../bignum.cc:8:\nIn file included from ../node_modules/nan/nan.h:24:\nIn file included from /Users/doliveira/.node-gyp/6.9.5/include/node/node.h:42:\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:229:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'\n TYPE_CHECK(T, S);\n ^~~~~~~~~~~~~~~~\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:188:37: note: expanded from macro 'TYPE_CHECK'\n *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \\\n ^ ~~~~~~~~~~~~~~~~~~\n../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here\n return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));\n ^\n../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'\n# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\n ^\nIn file included from ../bignum.cc:8:\nIn file included from ../node_modules/nan/nan.h:24:\nIn file included from /Users/doliveira/.node-gyp/6.9.5/include/node/node.h:42:\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:229:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'\n TYPE_CHECK(T, S);\n ^~~~~~~~~~~~~~~~\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:188:37: note: expanded from macro 'TYPE_CHECK'\n *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \\\n ^ ~~~~~~~~~~~~~~~~~~\n../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here\n return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)\n ^\n../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'\n# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\n ^\nIn file included from ../bignum.cc:8:\nIn file included from ../node_modules/nan/nan.h:24:\nIn file included from /Users/doliveira/.node-gyp/6.9.5/include/node/node.h:42:\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:229:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'\n TYPE_CHECK(T, S);\n ^~~~~~~~~~~~~~~~\n/Users/doliveira/.node-gyp/6.9.5/include/node/v8.h:188:37: note: expanded from macro 'TYPE_CHECK'\n *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \\\n ^ ~~~~~~~~~~~~~~~~~~\n../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here\n return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());\n ^\n../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'\n# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\n ^\n40 warnings and 14 errors generated.\nmake: *** [Release/obj.target/bignum/bignum.o] Error 1\ngyp ERR! build error \ngyp ERR! stack Error: `make` failed with exit code: 2\ngyp ERR! stack at C
running on node v6.9.0
from node-bignum.
Related Issues (20)
- Install failed
- to setup bignum with node js PROBLEM HOT 1
- dependancy hoek fails npm audit HOT 1
- Unable to install bignum HOT 3
- [Discussion] Any plans to support/fallback to native JavaScript BigInt? HOT 1
- de
- Installed node-bignum for my electron project. Got errors HOT 1
- symbol lookup error: BN_new on electron project
- RunKit bindings error
- Deprecation warnings during install HOT 1
- error with npm install bignum on ubuntu 19.04 HOT 19
- Error installing bignum on node v12 and windows 10 HOT 1
- Invalid type passed to bignum constructor HOT 1
- Change default branch name to main
- native-simple-crypto
- Npm install on windows fails looking for OpenSSL libeay32.lib which no longer exists HOT 2
- Can we convert big number to Integer of fixed length ? HOT 1
- Can't build HOT 1
- High severity vulnerability
- getting error while installing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-bignum.