Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

install error、run error、-v error(My English is not very good. sorry) #484

Open
dengbupapapa opened this issue May 2, 2018 · 3 comments

Comments

@dengbupapapa
Copy link

dengbupapapa commented May 2, 2018

node -v 8.11.4
npm -v 6.0.0

When you download it:
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]
...i) { return i->ToInt32(); }
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:9796:21: note:
'ToInt32' has been explicitly marked deprecated here
Local Value::ToInt32() const {
^
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]
...i) { return i->ToUint32(); }
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:9790:22: note:
'ToUint32' has been explicitly marked deprecated here
Local Value::ToUint32() const {
^
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::Boole...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:4845:56: note:
'New' has been explicitly marked deprecated here
...an isolate", static Local New(bool value));
^
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::G...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:1425:21: note:
'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate* isolate, Sourc...
^
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::G...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:1425:21: note:
'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate* isolate, Sourc...
^
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::Ge...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:2681:21: note:
'NewFromOneByte' has been explicitly marked
deprecated here
Local NewFromOneByte(Isolate* isolate...
^
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::GetCu...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:2719:38: note:
'NewExternal' has been explicitly marked deprecated
here
Local NewExternal(
^
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::Iso...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:1405:45: note:
'CompileUnbound' has been explicitly marked
deprecated here
Local CompileUnbound(
^
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::Iso...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:1405:45: note:
'CompileUnbound' has been explicitly marked
deprecated here
Local CompileUnbound(
^
In file included from ../crypt3.cc:7:
../node_modules/nan/nan.h:261:25: error: redefinition of
'_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition
is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle<...
^
../node_modules/nan/nan.h:289:39: warning:
'IdleNotification' is deprecated
[-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotificat...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:7482:22: note:
'IdleNotification' has been explicitly marked
deprecated here
bool IdleNotification(int idle_time...
^
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:569:15: error: no type named
'WeakCallbackData' in namespace 'v8'
const v8::WeakCallbackData<T, _NanWeakCallbackI...
~~~~^
../node_modules/nan/nan.h:569:31: error: expected ')'
const v8::WeakCallbackData<T, _NanWeakCallbackI...
^
../node_modules/nan/nan.h:568:41: note: to match this '('
static void _NanWeakCallbackDispatcher(
^
../node_modules/nan/nan.h:570:42: error: use of undeclared
identifier 'data'
_NanWeakCallbackInfo<T, P> *info = data.GetPa...
^
../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::GetCurren...
^~~~~~~~~~~~~~~~~
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node_buffer.h:67:40: note:
candidate function not viable: 2nd argument
('const char ') would lose const qualifier
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isol...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node_buffer.h:55:40: note:
candidate function not viable: no known conversion
from 'const char ' to 'v8::Localv8::String' for
2nd argument
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isol...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node_buffer.h:52:40: note:
candidate function not viable: requires 2 arguments,
but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isol...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node_buffer.h:60:40: note:
candidate function not viable: requires 5 arguments,
but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isol...
^
In file included from ../crypt3.cc:7:
../node_modules/nan/nan.h:676:12: error: no viable
conversion from returned value of type
'v8::MaybeLocalv8::Object' to function return type
'v8::Localv8::Object'
...node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:197:7: note:
candidate constructor (the implicit copy constructor)
not viable: no known conversion from
'v8::MaybeLocalv8::Object' to 'const
v8::Localv8::Object &' for 1st argument
class Local {
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:197:7: note:
candidate constructor (the implicit move constructor)
not viable: no known conversion from
'v8::MaybeLocalv8::Object' to
'v8::Localv8::Object &&' for 1st argument
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:201:13: note:
candidate template ignored: could not match 'Local'
against 'MaybeLocal'
V8_INLINE Local(Local 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::GetCurren...
~~~~~~~~~~~~~~^
../node_modules/nan/nan.h:710:32: warning: 'Compile' is
deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate:...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:1425:21: note:
'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate
isolate, Sourc...
^
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:...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:1425:21: note:
'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate
isolate, Sourc...
^
../crypt3.cc:29:30: warning: 'ErrnoException' is
deprecated: Use ErrnoException(isolate, ...)
[-Wdeprecated-declarations]
return NanThrowError(node::ErrnoExc...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:121:45: note:
'ErrnoException' has been explicitly marked
deprecated here
inline v8::Localv8::Value ErrnoException(
^
In file included from ../crypt3.cc:3:
In file included from /Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:63:
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:208:5: error:
assigning to 'v8::Primitive volatile' from
incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:162:37: note:
expanded from macro 'TYPE_CHECK'
...volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of
function template specialization
'v8::Localv8::Primitive::Localv8::Value'
requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::...
^
../node_modules/nan/nan.h:398:30: note: expanded from macro
'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsur...

                         ^

In file included from ../crypt3.cc:3:
In file included from /Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:63:
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:208:5: error:
assigning to 'v8::Boolean volatile' from
incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:162:37: note:
expanded from macro 'TYPE_CHECK'
...volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of
function template specialization
'v8::Localv8::Boolean::Localv8::Value' requested
here
return NanEscapeScope(NanNew(v8::True(v8::Isola...
^
../node_modules/nan/nan.h:398:30: note: expanded from macro
'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsur...

                         ^

In file included from ../crypt3.cc:3:
In file included from /Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:63:
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:208:5: error:
assigning to 'v8::Function volatile' from
incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:162:37: note:
expanded from macro 'TYPE_CHECK'
...volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation
of function template specialization
'v8::Localv8::Function::Localv8::Value' requested
here
return NanEscapeScope(NanNew(handle)->Get(kCall...
^
../node_modules/nan/nan.h:398:30: note: expanded from macro
'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsur...

                         ^

In file included from ../crypt3.cc:3:
In file included from /Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:63:
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:208:5: error:
assigning to 'v8::Object volatile' from incompatible
type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:162:37: note:
expanded from macro 'TYPE_CHECK'
...volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation
of function template specialization
'v8::Localv8::Object::Localv8::Value' requested
here
return NanEscapeScope(handle->Get(NanNew(key))....
^
../node_modules/nan/nan.h:398:30: note: expanded from macro
'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsur...

                         ^

13 warnings and 16 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:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 15.6.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 v8.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok

[email protected] install /usr/local/lib/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]
...i) { return i->ToInt32(); }
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:9796:21: note:
'ToInt32' has been explicitly marked deprecated here
Local Value::ToInt32() const {
^
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]
...i) { return i->ToUint32(); }
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:9790:22: note:
'ToUint32' has been explicitly marked deprecated here
Local Value::ToUint32() const {
^
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::Boole...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:4845:56: note:
'New' has been explicitly marked deprecated here
...an isolate", static Local New(bool value));
^
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::G...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:1425:21: note:
'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate* isolate, Sourc...
^
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::G...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:1425:21: note:
'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate* isolate, Sourc...
^
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::Ge...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:2681:21: note:
'NewFromOneByte' has been explicitly marked
deprecated here
Local NewFromOneByte(Isolate* isolate...
^
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::GetCu...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:2719:38: note:
'NewExternal' has been explicitly marked deprecated
here
Local NewExternal(
^
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::Iso...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:1405:45: note:
'CompileUnbound' has been explicitly marked
deprecated here
Local CompileUnbound(
^
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::Iso...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:1405:45: note:
'CompileUnbound' has been explicitly marked
deprecated here
Local CompileUnbound(
^
In file included from ../fs-ext.cc:27:
../node_modules/nan/nan.h:261:25: error: redefinition of
'_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition
is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle<...
^
../node_modules/nan/nan.h:289:39: warning:
'IdleNotification' is deprecated
[-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotificat...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:7482:22: note:
'IdleNotification' has been explicitly marked
deprecated here
bool IdleNotification(int idle_time...
^
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:569:15: error: no type named
'WeakCallbackData' in namespace 'v8'
const v8::WeakCallbackData<T, _NanWeakCallbackI...
~~~~^
../node_modules/nan/nan.h:569:31: error: expected ')'
const v8::WeakCallbackData<T, _NanWeakCallbackI...
^
../node_modules/nan/nan.h:568:41: note: to match this '('
static void _NanWeakCallbackDispatcher(
^
../node_modules/nan/nan.h:570:42: error: use of undeclared
identifier 'data'
_NanWeakCallbackInfo<T, P> *info = data.GetPa...
^
../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::GetCurren...
^~~~~~~~~~~~~~~~~
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node_buffer.h:67:40: note:
candidate function not viable: 2nd argument
('const char ') would lose const qualifier
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isol...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node_buffer.h:55:40: note:
candidate function not viable: no known conversion
from 'const char ' to 'v8::Localv8::String' for
2nd argument
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isol...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node_buffer.h:52:40: note:
candidate function not viable: requires 2 arguments,
but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isol...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node_buffer.h:60:40: note:
candidate function not viable: requires 5 arguments,
but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isol...
^
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::MaybeLocalv8::Object' to function return type
'v8::Localv8::Object'
...node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:197:7: note:
candidate constructor (the implicit copy constructor)
not viable: no known conversion from
'v8::MaybeLocalv8::Object' to 'const
v8::Localv8::Object &' for 1st argument
class Local {
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:197:7: note:
candidate constructor (the implicit move constructor)
not viable: no known conversion from
'v8::MaybeLocalv8::Object' to
'v8::Localv8::Object &&' for 1st argument
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:201:13: note:
candidate template ignored: could not match 'Local'
against 'MaybeLocal'
V8_INLINE Local(Local 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::GetCurren...
~~~~~~~~~~~~~~^
../node_modules/nan/nan.h:710:32: warning: 'Compile' is
deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate:...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:1425:21: note:
'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate
isolate, Sourc...
^
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:...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:1425:21: note:
'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate
isolate, Sourc...
^
../fs-ext.cc:108:15: warning: 'ErrnoException' is
deprecated: Use ErrnoException(isolate, ...)
[-Wdeprecated-declarations]
argv[0] = ErrnoException(store_data->error);
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:121:45: note:
'ErrnoException' has been explicitly marked
deprecated here
inline v8::Localv8::Value ErrnoException(
^
../fs-ext.cc:151:12: warning: 'TryCatch' is deprecated
[-Wdeprecated-declarations]
TryCatch try_catch;
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:8313:40: note:
'TryCatch' has been explicitly marked deprecated here
V8_DEPRECATED("Use isolate version", TryCatch());
^
../fs-ext.cc:156:5: warning: 'FatalException' is
deprecated: Use FatalException(isolate, ...)
[-Wdeprecated-declarations]
FatalException(try_catch);
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:339:29: note:
'FatalException' has been explicitly marked
deprecated here
inline void FatalException(const v8...
^
../fs-ext.cc:299:38: warning: 'ErrnoException' is
deprecated: Use ErrnoException(isolate, ...)
[-Wdeprecated-declarations]
if (i != 0) return NanThrowError(ErrnoException...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:121:45: note:
'ErrnoException' has been explicitly marked
deprecated here
inline v8::Localv8::Value ErrnoException(
^
../fs-ext.cc:343:49: warning: 'ErrnoException' is
deprecated: Use ErrnoException(isolate, ...)
[-Wdeprecated-declarations]
if (offs_result == -1) return NanThrowError(ErrnoEx...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:121:45: note:
'ErrnoException' has been explicitly marked
deprecated here
inline v8::Localv8::Value ErrnoException(
^
../fs-ext.cc:380:44: warning: 'ErrnoException' is
deprecated: Use ErrnoException(isolate, ...)
[-Wdeprecated-declarations]
if (result == -1) return NanThrowError(ErrnoExc...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:121:45: note:
'ErrnoException' has been explicitly marked
deprecated here
inline v8::Localv8::Value ErrnoException(
^
../fs-ext.cc:439:40: warning: 'ErrnoException' is
deprecated: Use ErrnoException(isolate, ...)
[-Wdeprecated-declarations]
if (ret != 0) return NanThrowError(ErrnoExcepti...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:121:45: note:
'ErrnoException' has been explicitly marked
deprecated here
inline v8::Localv8::Value ErrnoException(
^
../fs-ext.cc:476:40: warning: 'ErrnoException' is
deprecated: Use ErrnoException(isolate, ...)
[-Wdeprecated-declarations]
if (ret != 0) return NanThrowError(ErrnoExcepti...
^
/Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:121:45: note:
'ErrnoException' has been explicitly marked
deprecated here
inline v8::Localv8::Value ErrnoException(
^
In file included from ../fs-ext.cc:20:
In file included from /Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:63:
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:208:5: error:
assigning to 'v8::Primitive volatile' from
incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:162:37: note:
expanded from macro 'TYPE_CHECK'
...volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of
function template specialization
'v8::Localv8::Primitive::Localv8::Value'
requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::...
^
../node_modules/nan/nan.h:398:30: note: expanded from macro
'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsur...

                         ^

In file included from ../fs-ext.cc:20:
In file included from /Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:63:
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:208:5: error:
assigning to 'v8::Boolean volatile' from
incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:162:37: note:
expanded from macro 'TYPE_CHECK'
...volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of
function template specialization
'v8::Localv8::Boolean::Localv8::Value' requested
here
return NanEscapeScope(NanNew(v8::True(v8::Isola...
^
../node_modules/nan/nan.h:398:30: note: expanded from macro
'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsur...

                         ^

In file included from ../fs-ext.cc:20:
In file included from /Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:63:
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:208:5: error:
assigning to 'v8::Function volatile' from
incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:162:37: note:
expanded from macro 'TYPE_CHECK'
...volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation
of function template specialization
'v8::Localv8::Function::Localv8::Value' requested
here
return NanEscapeScope(NanNew(handle)->Get(kCall...
^
../node_modules/nan/nan.h:398:30: note: expanded from macro
'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsur...

                         ^

In file included from ../fs-ext.cc:20:
In file included from /Users/dengshiwei/.node-gyp/8.11.1/include/node/node.h:63:
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:208:5: error:
assigning to 'v8::Object volatile' from incompatible
type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/dengshiwei/.node-gyp/8.11.1/include/node/v8.h:162:37: note:
expanded from macro 'TYPE_CHECK'
...volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation
of function template specialization
'v8::Localv8::Object::Localv8::Value' requested
here
return NanEscapeScope(handle->Get(NanNew(key))....
^
../node_modules/nan/nan.h:398:30: note: expanded from macro
'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsur...

                         ^

20 warnings and 16 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:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 15.6.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 v8.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
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

sinopia -v
{ Error: Cannot find module './build/Release/DTraceProviderBindings'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/sinopia/node_modules/bunyan/node_modules/dtrace-provider/dtrace-provider.js:17:23)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3) code: 'MODULE_NOT_FOUND' }
{ Error: Cannot find module './build/default/DTraceProviderBindings'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/sinopia/node_modules/bunyan/node_modules/dtrace-provider/dtrace-provider.js:17:23)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3) code: 'MODULE_NOT_FOUND' }
{ Error: Cannot find module './build/Debug/DTraceProviderBindings'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/sinopia/node_modules/bunyan/node_modules/dtrace-provider/dtrace-provider.js:17:23)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3) code: 'MODULE_NOT_FOUND' }

error: unknown option `-v'

run
{ Error: Cannot find module './build/Release/DTraceProviderBindings'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/sinopia/node_modules/bunyan/node_modules/dtrace-provider/dtrace-provider.js:17:23)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3) code: 'MODULE_NOT_FOUND' }
{ Error: Cannot find module './build/default/DTraceProviderBindings'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/sinopia/node_modules/bunyan/node_modules/dtrace-provider/dtrace-provider.js:17:23)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3) code: 'MODULE_NOT_FOUND' }
{ Error: Cannot find module './build/Debug/DTraceProviderBindings'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/sinopia/node_modules/bunyan/node_modules/dtrace-provider/dtrace-provider.js:17:23)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3) code: 'MODULE_NOT_FOUND' }
warn --- config file - /Users/dengshiwei/.config/sinopia/config.yaml
warn --- http address - http://localhost:4873/

@dengbupapapa dengbupapapa changed the title errer install errer、run errer、-v errer May 2, 2018
@dengbupapapa dengbupapapa changed the title install errer、run errer、-v errer install errer、run errer、-v errer(My English is not very good. sorry) May 2, 2018
@dengbupapapa dengbupapapa changed the title install errer、run errer、-v errer(My English is not very good. sorry) install error、run error、-v error(My English is not very good. sorry) May 2, 2018
@juanpicado
Copy link

juanpicado commented May 2, 2018

Sinopia does not work with Node 8 and higher. see #456

@dengbupapapa
Copy link
Author

Thank you very much

@caikan
Copy link

caikan commented May 7, 2018

Sinopia has stopped maintaining, you can try verdaccio(https://github.com/verdaccio/verdaccio).

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

No branches or pull requests

3 participants