Thanks to visit codestin.com
Credit goes to github.com

Skip to content

(Windows) Strong-debugger Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1 #348

@mikegwhit

Description

@mikegwhit

Have followed numerous steps to remedy potential node-gyp/Windows conflicts. Other modules seem to compile with node-gyp fine.

> [email protected] install C:\Users\foobar\AppData\Roaming\npm\node_modules\strongloop\node_modules\strong-debugger
> node-gyp rebuild


C:\Users\foobar\AppData\Roaming\npm\node_modules\strongloop\node_modules\strong-debugger>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  mutex-wrap.cc
  debugger.cc
  controller.cc
  worker.cc
  worker-bindings.cc
..\src\controller.cc(130): warning C4996: 'v8::Debug::SendCommand': was declared deprecated [C:\Users\foobar\AppData\Roa
ming\npm\node_modules\strongloop\node_modules\strong-debugger\build\debugger.vcxproj]
  C:\Users\foobar\.node-gyp\8.9.0\include\node\v8-debug.h(172): note: see declaration of 'v8::Debug::SendCommand'
..\src\controller.cc(189): error C2660: 'v8::Debug::ProcessDebugMessages': function does not take 0 arguments [C:\Users
\foobar\AppData\Roaming\npm\node_modules\strongloop\node_modules\strong-debugger\build\debugger.vcxproj]
..\src\controller.cc(196): error C2660: 'v8::Debug::SetMessageHandler': function does not take 1 arguments [C:\Users\mi
cha\AppData\Roaming\npm\node_modules\strongloop\node_modules\strong-debugger\build\debugger.vcxproj]
..\src\controller.cc(205): error C2660: 'v8::Debug::ProcessDebugMessages': function does not take 0 arguments [C:\Users
\foobar\AppData\Roaming\npm\node_modules\strongloop\node_modules\strong-debugger\build\debugger.vcxproj]
..\src\controller.cc(206): error C2660: 'v8::Debug::SetMessageHandler': function does not take 1 arguments [C:\Users\mi
cha\AppData\Roaming\npm\node_modules\strongloop\node_modules\strong-debugger\build\debugger.vcxproj]
  win_delay_load_hook.cc
c:\users\foobar\appdata\roaming\npm\node_modules\strongloop\node_modules\strong-debugger\src\incoming-connection-inl.h(7
5): warning C4244: 'argument': conversion from 'ssize_t' to 'int', possible loss of data (compiling source file ..\src\
worker.cc) [C:\Users\foobar\AppData\Roaming\npm\node_modules\strongloop\node_modules\strong-debugger\build\debugger.vcxp
roj]
  c:\users\foobar\appdata\roaming\npm\node_modules\strongloop\node_modules\strong-debugger\src\incoming-connection-inl.h
  (65): note: while compiling class template member function 'void strongloop::debugger::IncomingConnection<strongloop:
  :debugger::Worker>::ReadDataCb(uv_stream_t *,ssize_t,const uv_buf_t *)' (compiling source file ..\src\worker.cc)
  c:\users\foobar\appdata\roaming\npm\node_modules\strongloop\node_modules\strong-debugger\src\incoming-connection-inl.h
  (25): note: see reference to function template instantiation 'void strongloop::debugger::IncomingConnection<strongloo
  p::debugger::Worker>::ReadDataCb(uv_stream_t *,ssize_t,const uv_buf_t *)' being compiled (compiling source file ..\sr
  c\worker.cc)
  c:\users\foobar\appdata\roaming\npm\node_modules\strongloop\node_modules\strong-debugger\src\incoming-connection-inl.h
  (5): note: while compiling class template member function 'strongloop::UvError strongloop::debugger::IncomingConnecti
  on<strongloop::debugger::Worker>::Init(uv_loop_t *,T *)'
          with
          [
              T=strongloop::debugger::Worker
          ] (compiling source file ..\src\worker.cc)
  ..\src\worker.cc(208): note: see reference to function template instantiation 'strongloop::UvError strongloop::debugg
  er::IncomingConnection<strongloop::debugger::Worker>::Init(uv_loop_t *,T *)' being compiled
          with
          [
              T=strongloop::debugger::Worker
          ]
  c:\users\foobar\appdata\roaming\npm\node_modules\strongloop\node_modules\strong-debugger\src\worker.h(110): note: see
  reference to class template instantiation 'strongloop::debugger::IncomingConnection<strongloop::debugger::Worker>' be
  ing compiled (compiling source file ..\src\worker.cc)
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\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 Windows_NT 10.0.15063
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\foobar\AppData\Roaming\npm\node_modules\strongloop\node_modules\strong-debugger
gyp ERR! node -v v8.9.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\strongloop\node_modules\modern-syslog):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"!win32","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\strongloop\node_modules\strong-debugger):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions