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

Installing failed under Windows8.1 #142

Open
daniellucas opened this issue May 9, 2015 · 2 comments
Open

Installing failed under Windows8.1 #142

daniellucas opened this issue May 9, 2015 · 2 comments

Comments

@daniellucas
Copy link

Hi all!

I have been trying to install on Windows8.1 and it keeps failing. I started the installation process with "npm install -g tty.js" and then got a error because I needed to install Python and then I did it(can not be Python 3.x needs to be 2.x), then I got an error requiring Visual Studio 2008 and I have spent this day doing this process(thanks for this thread: https://github.com/TooTallNate/node-gyp/wiki/Visual-Studio-2010-Setup) and now I am having this problem and I can not figure out what I can do to solve it:

Microsoft Windows [versão 6.3.9600]
(c) 2013 Microsoft Corporation. Todos os direitos reservados.

C:\Users\dlcun_000.GREENHUG>npm install -g tty.js
\
> [email protected] install C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_mo
dules\tty.js\node_modules\pty.js
> node-gyp rebuild


C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_modules\tty.js\node_modules
\pty.js>if not defined npm_config_node_gyp (node "C:\Program Files (x86)\nodejs\
node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js"
rebuild )  else (rebuild)
Compilando os projetos desta solução um de cada vez. Para habilitar a compilação
 paralela, adicione a opção "/m".
  Agent.cc
  AgentAssert.cc
  ConsoleInput.cc
  Coord.cc
  EventLoop.cc
  NamedPipe.cc
  SmallRect.cc
  Terminal.cc
  Win32Console.cc
  main.cc
  DebugClient.cc
  Generating code
  Finished generating code
  winpty-agent.vcxproj -> C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_
  modules\tty.js\node_modules\pty.js\build\Release\\winpty-agent.exe
  winpty.cc
  DebugClient.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled.
Specify /EHsc [C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_modules\tty
.js\node_modules\pty.js\build\deps\winpty\winpty.vcxproj]
     Creating library C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_modu
  les\tty.js\node_modules\pty.js\build\Release\winpty.lib and object C:\Users\d
  lcun_000.GREENHUG\AppData\Roaming\npm\node_modules\tty.js\node_modules\pty.js
  \build\Release\winpty.exp
  Generating code
  Finished generating code
  winpty.vcxproj -> C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_module
  s\tty.js\node_modules\pty.js\build\Release\\winpty.dll
  pty.cc
..\src\win\pty.cc(121): warning C4018: '<' : signed/unsigned mismatch [C:\Users
\dlcun_000.GREENHUG\AppData\Roaming\npm\node_modules\tty.js\node_modules\pty.js
\build\pty.vcxproj]
..\src\win\pty.cc(290): error C2679: binary '=' : no operator found which takes
 a right-hand operand of type 'void' (or there is no acceptable conversion) [C:
\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_modules\tty.js\node_modules\
pty.js\build\pty.vcxproj]
          C:\Users\dlcun_000.GREENHUG\.node-gyp\0.12.2\deps\v8\include\v8.h(322
  ): could be 'v8::Handle<T> &v8::Handle<T>::operator =(const v8::Handle<T> &)'
          with
          [
              T=v8::Value
          ]
          while trying to match the argument list '(v8::Handle<T>, void)'
          with
          [
              T=v8::Value
          ]
..\src\win\pty.cc(296): error C2679: binary '=' : no operator found which takes
 a right-hand operand of type 'void' (or there is no acceptable conversion) [C:
\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_modules\tty.js\node_modules\
pty.js\build\pty.vcxproj]
          C:\Users\dlcun_000.GREENHUG\.node-gyp\0.12.2\deps\v8\include\v8.h(322
  ): could be 'v8::Handle<T> &v8::Handle<T>::operator =(const v8::Handle<T> &)'
          with
          [
              T=v8::Value
          ]
          while trying to match the argument list '(v8::Handle<T>, void)'
          with
          [
              T=v8::Value
          ]
..\src\win\pty.cc(306): error C2562: 'PtyStartProcess' : 'void' function return
ing a value [C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_modules\tty.j
s\node_modules\pty.js\build\pty.vcxproj]
          ..\src\win\pty.cc(222) : see declaration of 'PtyStartProcess'
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files (x86)\nodejs\node_mo
dules\npm\node_modules\node-gyp\lib\build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074
:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\nod
e_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_modules\tty.js
\node_modules\pty.js
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok

> [email protected] install C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_modules
\tty.js\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)


C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_modules\tty.js\node_modules
\socket.io\node_modules\socket.io-client\node_modules\ws>if not defined npm_conf
ig_node_gyp (node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-b
in\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (rebuild)
Compilando os projetos desta solução um de cada vez. Para habilitar a compilação
 paralela, adicione a opção "/m".
  bufferutil.cc
     Creating library C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_modu
  les\tty.js\node_modules\socket.io\node_modules\socket.io-client\node_modules\
  ws\build\Release\bufferutil.lib and object C:\Users\dlcun_000.GREENHUG\AppDat
  a\Roaming\npm\node_modules\tty.js\node_modules\socket.io\node_modules\socket.
  io-client\node_modules\ws\build\Release\bufferutil.exp
  Generating code
  Finished generating code
  bufferutil.vcxproj -> C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_mo
  dules\tty.js\node_modules\socket.io\node_modules\socket.io-client\node_module
  s\ws\build\Release\\bufferutil.node
  validation.cc
     Creating library C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_modu
  les\tty.js\node_modules\socket.io\node_modules\socket.io-client\node_modules\
  ws\build\Release\validation.lib and object C:\Users\dlcun_000.GREENHUG\AppDat
  a\Roaming\npm\node_modules\tty.js\node_modules\socket.io\node_modules\socket.
  io-client\node_modules\ws\build\Release\validation.exp
  Generating code
  Finished generating code
  validation.vcxproj -> C:\Users\dlcun_000.GREENHUG\AppData\Roaming\npm\node_mo
  dules\tty.js\node_modules\socket.io\node_modules\socket.io-client\node_module
  s\ws\build\Release\\validation.node
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (
x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "tty.js"
npm ERR! node v0.12.2
npm ERR! npm  v2.7.4
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the pty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls pty.js
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\dlcun_000.GREENHUG\npm-debug.log

C:\Users\dlcun_000.GREENHUG>
@zhansingsong
Copy link

now I am meeting the same problem! who can resolve the bug, and inform me

@roccomuso
Copy link

+1

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