sinopia
sinopia copied to clipboard
Node 6.8.0 Install & Server Errors
Install errors:
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN prefer global [email protected] should be installed with -g
> [email protected] install /Users/treggi/Desktop/cps-react/node_modules/sinopia/node_modules/bunyan/node_modules/dtrace-provider
> node scripts/install.js
---------------
Building dtrace-provider failed with exit code 1 and signal 0
re-run install with environment variable V set to see the build output
---------------
> [email protected] install /Users/treggi/Desktop/cps-react/node_modules/sinopia/node_modules/crypt3
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/crypt3/crypt3.o
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
../node_modules/nan/nan_new.h:34:56: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:2020:10: note: 'ToInt32' has been explicitly marked deprecated here
inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
../node_modules/nan/nan_new.h:39:56: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:2019:10: note: 'ToUint32' has been explicitly marked deprecated here
inline V8_DEPRECATED("Use maybe version", Local<Uint32> ToUint32() const);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:49:29: warning: 'New' is deprecated [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:4007:3: note: 'New' has been explicitly marked deprecated here
V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:166:30: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:1352:10: note: 'Compile' has been explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:173:30: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:1352:10: note: 'Compile' has been explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:205:22: warning: 'NewFromOneByte' is deprecated [-Wdeprecated-declarations]
return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), value,
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:2332:10: note: 'NewFromOneByte' has been explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:217:22: warning: 'NewExternal' is deprecated [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:2371:10: note: 'NewExternal' has been explicitly marked deprecated here
static V8_DEPRECATED("Use maybe version",
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:237:30: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:1333:10: note: 'CompileUnbound' has been explicitly marked deprecated here
static V8_DEPRECATED("Use maybe version",
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:244:30: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:1333:10: note: 'CompileUnbound' has been explicitly marked deprecated here
static V8_DEPRECATED("Use maybe version",
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:289:39: warning: 'IdleNotification' is deprecated [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:6113:3: note: 'IdleNotification' has been explicitly marked deprecated here
V8_DEPRECATED("use IdleNotificationDeadline()",
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
../node_modules/nan/nan.h:473:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
v8::Isolate::GCEpilogueCallback callback
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:479:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
v8::Isolate::GCEpilogueCallback callback) {
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:484:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
v8::Isolate::GCPrologueCallback callback
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:490:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
v8::Isolate::GCPrologueCallback callback) {
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/treggi/.node-gyp/6.8.0/include/node/node_buffer.h:46:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/treggi/.node-gyp/6.8.0/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
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/treggi/.node-gyp/6.8.0/include/node/node_buffer.h:31:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
^
/Users/treggi/.node-gyp/6.8.0/include/node/node_buffer.h:39:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../crypt3.cc:7:
../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>'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/treggi/.node-gyp/6.8.0/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
class Local {
^
/Users/treggi/.node-gyp/6.8.0/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
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:222:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
In file included from ../crypt3.cc:7:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~^
../node_modules/nan/nan.h:710:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:1352:10: note: 'Compile' has been explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
../node_modules/nan/nan.h:717:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:1352:10: note: 'Compile' has been explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
../crypt3.cc:29:30: warning: 'ErrnoException' is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
return NanThrowError(node::ErrnoException(errno, "crypt"));
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:99:1: note: 'ErrnoException' has been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:66:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
In file included from ../crypt3.cc:3:
In file included from /Users/treggi/.node-gyp/6.8.0/include/node/node.h:42:
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:229:5: error: assigning to 'v8::Primitive *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:188:39: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../crypt3.cc:3:
In file included from /Users/treggi/.node-gyp/6.8.0/include/node/node.h:42:
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:229:5: error: assigning to 'v8::Boolean *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:188:39: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../crypt3.cc:3:
In file included from /Users/treggi/.node-gyp/6.8.0/include/node/node.h:42:
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:229:5: error: assigning to 'v8::Function *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:188:39: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../crypt3.cc:3:
In file included from /Users/treggi/.node-gyp/6.8.0/include/node/node.h:42:
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:229:5: error: assigning to 'v8::Object *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:188:39: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
13 warnings and 13 errors generated.
make: *** [Release/obj.target/crypt3/crypt3.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/treggi/.nvm/versions/node/v6.8.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.7.0
gyp ERR! command "/Users/treggi/.nvm/versions/node/v6.8.0/bin/node" "/Users/treggi/.nvm/versions/node/v6.8.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/treggi/Desktop/cps-react/node_modules/sinopia/node_modules/crypt3
gyp ERR! node -v v6.8.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
> [email protected] install /Users/treggi/Desktop/cps-react/node_modules/sinopia/node_modules/fs-ext
> node-gyp configure build
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/fs-ext/fs-ext.o
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
../node_modules/nan/nan_new.h:34:56: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:2020:10: note: 'ToInt32' has been explicitly marked deprecated here
inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
../node_modules/nan/nan_new.h:39:56: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:2019:10: note: 'ToUint32' has been explicitly marked deprecated here
inline V8_DEPRECATED("Use maybe version", Local<Uint32> ToUint32() const);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:49:29: warning: 'New' is deprecated [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:4007:3: note: 'New' has been explicitly marked deprecated here
V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:166:30: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:1352:10: note: 'Compile' has been explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:173:30: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:1352:10: note: 'Compile' has been explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:205:22: warning: 'NewFromOneByte' is deprecated [-Wdeprecated-declarations]
return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), value,
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:2332:10: note: 'NewFromOneByte' has been explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:217:22: warning: 'NewExternal' is deprecated [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:2371:10: note: 'NewExternal' has been explicitly marked deprecated here
static V8_DEPRECATED("Use maybe version",
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:237:30: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:1333:10: note: 'CompileUnbound' has been explicitly marked deprecated here
static V8_DEPRECATED("Use maybe version",
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:244:30: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:1333:10: note: 'CompileUnbound' has been explicitly marked deprecated here
static V8_DEPRECATED("Use maybe version",
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:289:39: warning: 'IdleNotification' is deprecated [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:6113:3: note: 'IdleNotification' has been explicitly marked deprecated here
V8_DEPRECATED("use IdleNotificationDeadline()",
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
../node_modules/nan/nan.h:473:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
v8::Isolate::GCEpilogueCallback callback
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:479:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
v8::Isolate::GCEpilogueCallback callback) {
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:484:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
v8::Isolate::GCPrologueCallback callback
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:490:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
v8::Isolate::GCPrologueCallback callback) {
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/treggi/.node-gyp/6.8.0/include/node/node_buffer.h:46:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/treggi/.node-gyp/6.8.0/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
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/treggi/.node-gyp/6.8.0/include/node/node_buffer.h:31:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
^
/Users/treggi/.node-gyp/6.8.0/include/node/node_buffer.h:39:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../fs-ext.cc:27:
../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>'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/treggi/.node-gyp/6.8.0/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
class Local {
^
/Users/treggi/.node-gyp/6.8.0/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
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:222:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
In file included from ../fs-ext.cc:27:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~^
../node_modules/nan/nan.h:710:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:1352:10: note: 'Compile' has been explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
../node_modules/nan/nan.h:717:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:1352:10: note: 'Compile' has been explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
../fs-ext.cc:108:15: warning: 'ErrnoException' is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
argv[0] = ErrnoException(store_data->error);
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:99:1: note: 'ErrnoException' has been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:66:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:151:12: warning: 'TryCatch' is deprecated [-Wdeprecated-declarations]
TryCatch try_catch;
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:6771:3: note: 'TryCatch' has been explicitly marked deprecated here
V8_DEPRECATED("Use isolate version", TryCatch());
^
/Users/treggi/.node-gyp/6.8.0/include/node/v8config.h:336:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
../fs-ext.cc:156:5: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]
FatalException(try_catch);
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:304:1: note: 'FatalException' has been explicitly marked deprecated here
NODE_DEPRECATED("Use FatalException(isolate, ...)",
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:66:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:299:38: warning: 'ErrnoException' is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (i != 0) return NanThrowError(ErrnoException(errno));
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:99:1: note: 'ErrnoException' has been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:66:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:343:49: warning: 'ErrnoException' is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (offs_result == -1) return NanThrowError(ErrnoException(errno));
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:99:1: note: 'ErrnoException' has been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:66:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:380:44: warning: 'ErrnoException' is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (result == -1) return NanThrowError(ErrnoException(errno));
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:99:1: note: 'ErrnoException' has been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:66:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:439:40: warning: 'ErrnoException' is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (ret != 0) return NanThrowError(ErrnoException(errno, "utime", "", *path));
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:99:1: note: 'ErrnoException' has been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:66:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:476:40: warning: 'ErrnoException' is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (ret != 0) return NanThrowError(ErrnoException(errno, "statvfs", "", *path));
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:99:1: note: 'ErrnoException' has been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/treggi/.node-gyp/6.8.0/include/node/node.h:66:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
In file included from ../fs-ext.cc:20:
In file included from /Users/treggi/.node-gyp/6.8.0/include/node/node.h:42:
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:229:5: error: assigning to 'v8::Primitive *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:188:39: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../fs-ext.cc:20:
In file included from /Users/treggi/.node-gyp/6.8.0/include/node/node.h:42:
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:229:5: error: assigning to 'v8::Boolean *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:188:39: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../fs-ext.cc:20:
In file included from /Users/treggi/.node-gyp/6.8.0/include/node/node.h:42:
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:229:5: error: assigning to 'v8::Function *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:188:39: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../fs-ext.cc:20:
In file included from /Users/treggi/.node-gyp/6.8.0/include/node/node.h:42:
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:229:5: error: assigning to 'v8::Object *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/treggi/.node-gyp/6.8.0/include/node/v8.h:188:39: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
20 warnings and 13 errors generated.
make: *** [Release/obj.target/fs-ext/fs-ext.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/treggi/.nvm/versions/node/v6.8.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.7.0
gyp ERR! command "/Users/treggi/.nvm/versions/node/v6.8.0/bin/node" "/Users/treggi/.nvm/versions/node/v6.8.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /Users/treggi/Desktop/cps-react/node_modules/sinopia/node_modules/fs-ext
gyp ERR! node -v v6.8.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
Server start error:
{ Error: Cannot find module './build/Release/DTraceProviderBindings'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/treggi/Desktop/cps-react/node_modules/sinopia/node_modules/bunyan/node_modules/dtrace-provider/dtrace-provider.js:17:23)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3) code: 'MODULE_NOT_FOUND' }
{ Error: Cannot find module './build/default/DTraceProviderBindings'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/treggi/Desktop/cps-react/node_modules/sinopia/node_modules/bunyan/node_modules/dtrace-provider/dtrace-provider.js:17:23)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3) code: 'MODULE_NOT_FOUND' }
{ Error: Cannot find module './build/Debug/DTraceProviderBindings'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/treggi/Desktop/cps-react/node_modules/sinopia/node_modules/bunyan/node_modules/dtrace-provider/dtrace-provider.js:17:23)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3) code: 'MODULE_NOT_FOUND' }
i have same issue in Node 6.11
$ npm install -g sinopia
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated [email protected]: Use uuid module instead
/usr/local/bin/sinopia -> /usr/local/lib/node_modules/sinopia/bin/sinopia
> [email protected] install /usr/local/lib/node_modules/sinopia/node_modules/crypt3
> node-gyp rebuild
CXX(target) Release/obj.target/crypt3/crypt3.o
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
../node_modules/nan/nan_new.h:34:56: warning: 'ToInt32' is deprecated
[-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:2020:10: note: 'ToInt32' has been
explicitly marked deprecated here
inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
../node_modules/nan/nan_new.h:39:56: warning: 'ToUint32' is deprecated
[-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:2019:10: note: 'ToUint32' has been
explicitly marked deprecated here
inline V8_DEPRECATED("Use maybe version", Local<Uint32> ToUint32() const);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:49:29: warning: 'New' is
deprecated [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:4009:3: note: 'New' has been
explicitly marked deprecated here
V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:166:30: warning: 'Compile' is
deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:1352:10: note: 'Compile' has been
explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:173:30: warning: 'Compile' is
deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:1352:10: note: 'Compile' has been
explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:205:22: warning:
'NewFromOneByte' is deprecated [-Wdeprecated-declarations]
return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), value,
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:2332:10: note: 'NewFromOneByte'
has been explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:217:22: warning: 'NewExternal'
is deprecated [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:2371:10: note: 'NewExternal' has
been explicitly marked deprecated here
static V8_DEPRECATED("Use maybe version",
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:237:30: warning:
'CompileUnbound' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:1333:10: note: 'CompileUnbound'
has been explicitly marked deprecated here
static V8_DEPRECATED("Use maybe version",
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:244:30: warning:
'CompileUnbound' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:1333:10: note: 'CompileUnbound'
has been explicitly marked deprecated here
static V8_DEPRECATED("Use maybe version",
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:289:39: warning: 'IdleNotification' is deprecated
[-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:6115:3: note: 'IdleNotification'
has been explicitly marked deprecated here
V8_DEPRECATED("use IdleNotificationDeadline()",
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
../node_modules/nan/nan.h:473:20: error: no type named 'GCEpilogueCallback' in
'v8::Isolate'
v8::Isolate::GCEpilogueCallback callback
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:479:20: error: no type named 'GCEpilogueCallback' in
'v8::Isolate'
v8::Isolate::GCEpilogueCallback callback) {
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:484:20: error: no type named 'GCPrologueCallback' in
'v8::Isolate'
v8::Isolate::GCPrologueCallback callback
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:490:20: error: no type named 'GCPrologueCallback' in
'v8::Isolate'
v8::Isolate::GCPrologueCallback callback) {
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace
'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/jiw/.node-gyp/6.11.0/include/node/node_buffer.h:46:40: note: candidate
function not viable: 2nd argument ('const char *') would lose const
qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/jiw/.node-gyp/6.11.0/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
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/jiw/.node-gyp/6.11.0/include/node/node_buffer.h:31:40: note: candidate
function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
^
/Users/jiw/.node-gyp/6.11.0/include/node/node_buffer.h:39:40: note: candidate
function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../crypt3.cc:7:
../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>'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jiw/.node-gyp/6.11.0/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
class Local {
^
/Users/jiw/.node-gyp/6.11.0/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
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:222:13: note: candidate template
ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
In file included from ../crypt3.cc:7:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace
'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~^
../node_modules/nan/nan.h:710:32: warning: 'Compile' is deprecated
[-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:1352:10: note: 'Compile' has been
explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../crypt3.cc:7:
../node_modules/nan/nan.h:717:32: warning: 'Compile' is deprecated
[-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:1352:10: note: 'Compile' has been
explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
../crypt3.cc:29:30: warning: 'ErrnoException' is deprecated: Use
ErrnoException(isolate, ...) [-Wdeprecated-declarations]
return NanThrowError(node::ErrnoException(errno, "crypt"));
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:99:1: note: 'ErrnoException' has
been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:66:20: note: expanded from macro
'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
In file included from ../crypt3.cc:3:
In file included from /Users/jiw/.node-gyp/6.11.0/include/node/node.h:42:
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:229:5: error: assigning to
'v8::Primitive *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:188:39: note: expanded from macro
'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template
specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../crypt3.cc:3:
In file included from /Users/jiw/.node-gyp/6.11.0/include/node/node.h:42:
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:229:5: error: assigning to
'v8::Boolean *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:188:39: note: expanded from macro
'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template
specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../crypt3.cc:3:
In file included from /Users/jiw/.node-gyp/6.11.0/include/node/node.h:42:
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:229:5: error: assigning to
'v8::Function *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:188:39: note: expanded from macro
'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template
specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../crypt3.cc:3:
In file included from /Users/jiw/.node-gyp/6.11.0/include/node/node.h:42:
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:229:5: error: assigning to
'v8::Object *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:188:39: note: expanded from macro
'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template
specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
13 warnings and 13 errors generated.
make: *** [Release/obj.target/crypt3/crypt3.o] Error 1
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:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 17.3.0
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 /usr/local/lib/node_modules/sinopia/node_modules/crypt3
gyp ERR! node -v v6.11.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
> [email protected] install /usr/local/lib/node_modules/sinopia/node_modules/fs-ext
> node-gyp configure build
CXX(target) Release/obj.target/fs-ext/fs-ext.o
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
../node_modules/nan/nan_new.h:34:56: warning: 'ToInt32' is deprecated
[-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:2020:10: note: 'ToInt32' has been
explicitly marked deprecated here
inline V8_DEPRECATED("Use maybe version", Local<Int32> ToInt32() const);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
../node_modules/nan/nan_new.h:39:56: warning: 'ToUint32' is deprecated
[-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:2019:10: note: 'ToUint32' has been
explicitly marked deprecated here
inline V8_DEPRECATED("Use maybe version", Local<Uint32> ToUint32() const);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:49:29: warning: 'New' is
deprecated [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:4009:3: note: 'New' has been
explicitly marked deprecated here
V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:166:30: warning: 'Compile' is
deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:1352:10: note: 'Compile' has been
explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:173:30: warning: 'Compile' is
deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:1352:10: note: 'Compile' has been
explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:205:22: warning:
'NewFromOneByte' is deprecated [-Wdeprecated-declarations]
return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), value,
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:2332:10: note: 'NewFromOneByte'
has been explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:217:22: warning: 'NewExternal'
is deprecated [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:2371:10: note: 'NewExternal' has
been explicitly marked deprecated here
static V8_DEPRECATED("Use maybe version",
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:237:30: warning:
'CompileUnbound' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:1333:10: note: 'CompileUnbound'
has been explicitly marked deprecated here
static V8_DEPRECATED("Use maybe version",
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
In file included from ../node_modules/nan/nan.h:82:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:244:30: warning:
'CompileUnbound' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:1333:10: note: 'CompileUnbound'
has been explicitly marked deprecated here
static V8_DEPRECATED("Use maybe version",
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:289:39: warning: 'IdleNotification' is deprecated
[-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:6115:3: note: 'IdleNotification'
has been explicitly marked deprecated here
V8_DEPRECATED("use IdleNotificationDeadline()",
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
../node_modules/nan/nan.h:473:20: error: no type named 'GCEpilogueCallback' in
'v8::Isolate'
v8::Isolate::GCEpilogueCallback callback
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:479:20: error: no type named 'GCEpilogueCallback' in
'v8::Isolate'
v8::Isolate::GCEpilogueCallback callback) {
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:484:20: error: no type named 'GCPrologueCallback' in
'v8::Isolate'
v8::Isolate::GCPrologueCallback callback
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:490:20: error: no type named 'GCPrologueCallback' in
'v8::Isolate'
v8::Isolate::GCPrologueCallback callback) {
~~~~~~~~~~~~~^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace
'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/jiw/.node-gyp/6.11.0/include/node/node_buffer.h:46:40: note: candidate
function not viable: 2nd argument ('const char *') would lose const
qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/jiw/.node-gyp/6.11.0/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
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/Users/jiw/.node-gyp/6.11.0/include/node/node_buffer.h:31:40: note: candidate
function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
^
/Users/jiw/.node-gyp/6.11.0/include/node/node_buffer.h:39:40: note: candidate
function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../fs-ext.cc:27:
../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>'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jiw/.node-gyp/6.11.0/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
class Local {
^
/Users/jiw/.node-gyp/6.11.0/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
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:222:13: note: candidate template
ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
In file included from ../fs-ext.cc:27:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace
'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~^
../node_modules/nan/nan.h:710:32: warning: 'Compile' is deprecated
[-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:1352:10: note: 'Compile' has been
explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../fs-ext.cc:27:
../node_modules/nan/nan.h:717:32: warning: 'Compile' is deprecated
[-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:1352:10: note: 'Compile' has been
explicitly marked deprecated here
static V8_DEPRECATED(
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
../fs-ext.cc:108:15: warning: 'ErrnoException' is deprecated: Use
ErrnoException(isolate, ...) [-Wdeprecated-declarations]
argv[0] = ErrnoException(store_data->error);
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:99:1: note: 'ErrnoException' has
been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:66:20: note: expanded from macro
'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:151:12: warning: 'TryCatch' is deprecated
[-Wdeprecated-declarations]
TryCatch try_catch;
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:6773:3: note: 'TryCatch' has been
explicitly marked deprecated here
V8_DEPRECATED("Use isolate version", TryCatch());
^
/Users/jiw/.node-gyp/6.11.0/include/node/v8config.h:336:29: note: expanded from
macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
../fs-ext.cc:156:5: warning: 'FatalException' is deprecated: Use
FatalException(isolate, ...) [-Wdeprecated-declarations]
FatalException(try_catch);
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:306:1: note: 'FatalException'
has been explicitly marked deprecated here
NODE_DEPRECATED("Use FatalException(isolate, ...)",
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:66:20: note: expanded from macro
'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:299:38: warning: 'ErrnoException' is deprecated: Use
ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (i != 0) return NanThrowError(ErrnoException(errno));
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:99:1: note: 'ErrnoException' has
been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:66:20: note: expanded from macro
'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:343:49: warning: 'ErrnoException' is deprecated: Use
ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (offs_result == -1) return NanThrowError(ErrnoException(errno));
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:99:1: note: 'ErrnoException' has
been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:66:20: note: expanded from macro
'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:380:44: warning: 'ErrnoException' is deprecated: Use
ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (result == -1) return NanThrowError(ErrnoException(errno));
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:99:1: note: 'ErrnoException' has
been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:66:20: note: expanded from macro
'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:439:40: warning: 'ErrnoException' is deprecated: Use
ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (ret != 0) return NanThrowError(ErrnoException(errno, "utime", ""...
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:99:1: note: 'ErrnoException' has
been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:66:20: note: expanded from macro
'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:476:40: warning: 'ErrnoException' is deprecated: Use
ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (ret != 0) return NanThrowError(ErrnoException(errno, "statvfs", ...
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:99:1: note: 'ErrnoException' has
been explicitly marked deprecated here
NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
^
/Users/jiw/.node-gyp/6.11.0/include/node/node.h:66:20: note: expanded from macro
'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
In file included from ../fs-ext.cc:20:
In file included from /Users/jiw/.node-gyp/6.11.0/include/node/node.h:42:
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:229:5: error: assigning to
'v8::Primitive *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:188:39: note: expanded from macro
'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template
specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../fs-ext.cc:20:
In file included from /Users/jiw/.node-gyp/6.11.0/include/node/node.h:42:
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:229:5: error: assigning to
'v8::Boolean *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:188:39: note: expanded from macro
'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template
specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../fs-ext.cc:20:
In file included from /Users/jiw/.node-gyp/6.11.0/include/node/node.h:42:
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:229:5: error: assigning to
'v8::Function *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:188:39: note: expanded from macro
'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template
specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../fs-ext.cc:20:
In file included from /Users/jiw/.node-gyp/6.11.0/include/node/node.h:42:
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:229:5: error: assigning to
'v8::Object *' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/jiw/.node-gyp/6.11.0/include/node/v8.h:188:39: note: expanded from macro
'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template
specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
20 warnings and 13 errors generated.
make: *** [Release/obj.target/fs-ext/fs-ext.o] Error 1
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:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 17.3.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /usr/local/lib/node_modules/sinopia/node_modules/fs-ext
gyp ERR! node -v v6.11.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
/usr/local/lib
└── [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/sinopia/node_modules/crypt3):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/sinopia/node_modules/fs-ext):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp configure build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
@reggi
I find this