Skip to content

[email protected] fails to build #14411

Closed
@mhornbacher

Description

@mhornbacher

Here is a full log of the issue. sudo and nvm both have not been able to get around it.

node-pre-gyp ERR! Tried to download(404): https://node-inspector.s3.amazonaws.com/debug/v0.7.7/node-v57-linux-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v57 ABI) (falling back to source compile with node-gyp) 
make: Entering directory '/home/menachem/code/labs/redux-reducer-v-000/node_modules/v8-debug/build'
  CXX(target) Release/obj.target/debug/src/debug.o
../src/debug.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE nodex::Debug::Call(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/debug.cc:38:20: warning: ‘static v8::MaybeLocal<v8::Value> v8::Debug::Call(v8::Local<v8::Context>, v8::Local<v8::Function>, v8::Local<v8::Value>)’ is deprecated: No longer supported [-Wdeprecated-declarations]
         v8::Debug::Call(fn);
                    ^~~~
In file included from /home/menachem/.node-gyp/8.2.1/include/node/v8.h:26:0,
                 from /home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:8,
                 from ../src/debug.cc:1:
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:193:42: note: declared here
                 static MaybeLocal<Value> Call(
                                          ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/debug.cc:38:27: error: no matching function for call to ‘v8::Debug::Call(v8::Local<v8::Function>&)’
         v8::Debug::Call(fn);
                           ^
In file included from /home/menachem/.node-gyp/8.2.1/include/node/v8.h:26:0,
                 from /home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:8,
                 from ../src/debug.cc:1:
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:193:42: note: candidate: static v8::MaybeLocal<v8::Value> v8::Debug::Call(v8::Local<v8::Context>, v8::Local<v8::Function>, v8::Local<v8::Value>)
                 static MaybeLocal<Value> Call(
                                          ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:193:42: note:   candidate expects 3 arguments, 1 provided
                 static MaybeLocal<Value> Call(
                                          ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/debug.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE nodex::Debug::SendCommand(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/debug.cc:46:45: warning: ‘static v8::Local<v8::Context> v8::Debug::GetDebugContext(v8::Isolate*)’ is deprecated: Use v8-inspector [-Wdeprecated-declarations]
         Isolate* debug_isolate = v8::Debug::GetDebugContext()->GetIsolate();
                                             ^~~~~~~~~~~~~~~
In file included from /home/menachem/.node-gyp/8.2.1/include/node/v8.h:26:0,
                 from /home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:8,
                 from ../src/debug.cc:1:
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:209:39: note: declared here
                 static Local<Context> GetDebugContext(Isolate* isolate));
                                       ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/debug.cc:46:61: error: no matching function for call to ‘v8::Debug::GetDebugContext()’
         Isolate* debug_isolate = v8::Debug::GetDebugContext()->GetIsolate();
                                                             ^
In file included from /home/menachem/.node-gyp/8.2.1/include/node/v8.h:26:0,
                 from /home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:8,
                 from ../src/debug.cc:1:
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:209:39: note: candidate: static v8::Local<v8::Context> v8::Debug::GetDebugContext(v8::Isolate*)
                 static Local<Context> GetDebugContext(Isolate* isolate));
                                       ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:209:39: note:   candidate expects 1 argument, 0 provided
                 static Local<Context> GetDebugContext(Isolate* isolate));
                                       ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/debug.cc:48:20: warning: ‘static void v8::Debug::SendCommand(v8::Isolate*, const uint16_t*, int, v8::Debug::ClientData*)’ is deprecated: No longer supported [-Wdeprecated-declarations]
         v8::Debug::SendCommand(debug_isolate, *command, command.length());
                    ^~~~~~~~~~~
In file included from /home/menachem/.node-gyp/8.2.1/include/node/v8.h:26:0,
                 from /home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:8,
                 from ../src/debug.cc:1:
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:170:29: note: declared here
                 static void SendCommand(Isolate* isolate,
                             ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/debug.cc:48:73: warning: ‘static void v8::Debug::SendCommand(v8::Isolate*, const uint16_t*, int, v8::Debug::ClientData*)’ is deprecated: No longer supported [-Wdeprecated-declarations]
         v8::Debug::SendCommand(debug_isolate, *command, command.length());
                                                                         ^
In file included from /home/menachem/.node-gyp/8.2.1/include/node/v8.h:26:0,
                 from /home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:8,
                 from ../src/debug.cc:1:
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:170:29: note: declared here
                 static void SendCommand(Isolate* isolate,
                             ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/debug.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE nodex::Debug::RunScript(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/debug.cc:61:51: warning: ‘static v8::Local<v8::Context> v8::Debug::GetDebugContext(v8::Isolate*)’ is deprecated: Use v8-inspector [-Wdeprecated-declarations]
         Local<Context> debug_context = v8::Debug::GetDebugContext();
                                                   ^~~~~~~~~~~~~~~
In file included from /home/menachem/.node-gyp/8.2.1/include/node/v8.h:26:0,
                 from /home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:8,
                 from ../src/debug.cc:1:
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:209:39: note: declared here
                 static Local<Context> GetDebugContext(Isolate* isolate));
                                       ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/debug.cc:61:67: error: no matching function for call to ‘v8::Debug::GetDebugContext()’
         Local<Context> debug_context = v8::Debug::GetDebugContext();
                                                                   ^
In file included from /home/menachem/.node-gyp/8.2.1/include/node/v8.h:26:0,
                 from /home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:8,
                 from ../src/debug.cc:1:
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:209:39: note: candidate: static v8::Local<v8::Context> v8::Debug::GetDebugContext(v8::Isolate*)
                 static Local<Context> GetDebugContext(Isolate* isolate));
                                       ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:209:39: note:   candidate expects 1 argument, 0 provided
                 static Local<Context> GetDebugContext(Isolate* isolate));
                                       ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/debug.cc:65:11: error: ‘GetMirror’ is not a member of ‘v8::Debug’
           v8::Debug::GetMirror(info.GetIsolate()->GetCurrentContext(), info[0]);
           ^~
../src/debug.cc:66:38: warning: ‘static v8::Local<v8::Context> v8::Debug::GetDebugContext(v8::Isolate*)’ is deprecated: Use v8-inspector [-Wdeprecated-declarations]
           debug_context = v8::Debug::GetDebugContext();
                                      ^~~~~~~~~~~~~~~
In file included from /home/menachem/.node-gyp/8.2.1/include/node/v8.h:26:0,
                 from /home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:8,
                 from ../src/debug.cc:1:
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:209:39: note: declared here
                 static Local<Context> GetDebugContext(Isolate* isolate));
                                       ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/debug.cc:66:54: error: no matching function for call to ‘v8::Debug::GetDebugContext()’
           debug_context = v8::Debug::GetDebugContext();
                                                      ^
In file included from /home/menachem/.node-gyp/8.2.1/include/node/v8.h:26:0,
                 from /home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:8,
                 from ../src/debug.cc:1:
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:209:39: note: candidate: static v8::Local<v8::Context> v8::Debug::GetDebugContext(v8::Isolate*)
                 static Local<Context> GetDebugContext(Isolate* isolate));
                                       ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/menachem/.node-gyp/8.2.1/include/node/v8-debug.h:209:39: note:   candidate expects 1 argument, 0 provided
                 static Local<Context> GetDebugContext(Isolate* isolate));
                                       ^
/home/menachem/.node-gyp/8.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
debug.target.mk:98: recipe for target 'Release/obj.target/debug/src/debug.o' failed
make: *** [Release/obj.target/debug/src/debug.o] Error 1
make: Leaving directory '/home/menachem/code/labs/redux-reducer-v-000/node_modules/v8-debug/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/menachem/code/labs/redux-reducer-v-000/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:125:13)
gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.10.0-28-generic
gyp ERR! command "/home/menachem/.nvm/versions/node/v8.2.1/bin/node" "/home/menachem/code/labs/redux-reducer-v-000/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/menachem/code/labs/redux-reducer-v-000/node_modules/v8-debug/build/debug/v0.7.7/node-v57-linux-x64/debug.node" "--module_name=debug" "--module_path=/home/menachem/code/labs/redux-reducer-v-000/node_modules/v8-debug/build/debug/v0.7.7/node-v57-linux-x64"
gyp ERR! cwd /home/menachem/code/labs/redux-reducer-v-000/node_modules/v8-debug
gyp ERR! node -v v8.2.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/home/menachem/.nvm/versions/node/v8.2.1/bin/node /home/menachem/code/labs/redux-reducer-v-000/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/menachem/code/labs/redux-reducer-v-000/node_modules/v8-debug/build/debug/v0.7.7/node-v57-linux-x64/debug.node --module_name=debug --module_path=/home/menachem/code/labs/redux-reducer-v-000/node_modules/v8-debug/build/debug/v0.7.7/node-v57-linux-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/menachem/code/labs/redux-reducer-v-000/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:125:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:921:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Linux 4.10.0-28-generic
node-pre-gyp ERR! command "/home/menachem/.nvm/versions/node/v8.2.1/bin/node" "/home/menachem/code/labs/redux-reducer-v-000/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/menachem/code/labs/redux-reducer-v-000/node_modules/v8-debug
node-pre-gyp ERR! node -v v8.2.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok 
Failed to execute '/home/menachem/.nvm/versions/node/v8.2.1/bin/node /home/menachem/code/labs/redux-reducer-v-000/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/menachem/code/labs/redux-reducer-v-000/node_modules/v8-debug/build/debug/v0.7.7/node-v57-linux-x64/debug.node --module_name=debug --module_path=/home/menachem/code/labs/redux-reducer-v-000/node_modules/v8-debug/build/debug/v0.7.7/node-v57-linux-x64' (1)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions