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

Unable to install #133

Open
ynagarjuna2012 opened this issue Dec 16, 2014 · 6 comments
Open

Unable to install #133

ynagarjuna2012 opened this issue Dec 16, 2014 · 6 comments

Comments

@ynagarjuna2012
Copy link

$ npm install -g tty.js
/

pty.js@0.2.3 install C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_
modules\pty.js
node-gyp rebuild


"c:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\n
ode-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build, please
add the "/m" switch.
/ Agent.cc
\ AgentAssert.cc
ConsoleInput.cc
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
(......\deps\winpty\agent\ConsoleInput.cc) [C:\Users\Nagarjuna\AppData\Roaming\npm\n
ode_modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
(......\deps\winpty\agent\Agent.cc) [C:\Users\Nagarjuna\AppData\Roaming\npm\node_mod
ules\tty.js\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
......\deps\winpty\agent\ConsoleInput.cc(344): warning C4800: 'int' : forcing value
to bool 'true' or 'false' (performance warning) [C:\Users\Nagarjuna\AppData\Roaming\np
m\node_modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
......\deps\winpty\agent\ConsoleInput.cc(345): warning C4800: 'int' : forcing value
to bool 'true' or 'false' (performance warning) [C:\Users\Nagarjuna\AppData\Roaming\np
m\node_modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
......\deps\winpty\agent\ConsoleInput.cc(346): warning C4800: 'int' : forcing value
to bool 'true' or 'false' (performance warning) [C:\Users\Nagarjuna\AppData\Roaming\np
m\node_modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
Coord.cc
EventLoop.cc
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
(......\deps\winpty\agent\Coord.cc) [C:\Users\Nagarjuna\AppData\Roaming\npm\node_mod
ules\tty.js\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
(......\deps\winpty\agent\EventLoop.cc) [C:\Users\Nagarjuna\AppData\Roaming\npm\node
_modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
......\deps\winpty\agent\EventLoop.cc(69): error C2039: 'max' : is not a member of '
std' [C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_modules\pty.js\b
uild\deps\winpty\winpty-agent.vcxproj]
......\deps\winpty\agent\EventLoop.cc(69): error C3861: 'max': identifier not found
[C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_modules\pty.js\build
deps\winpty\winpty-agent.vcxproj]
NamedPipe.cc
SmallRect.cc
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
(......\deps\winpty\agent\NamedPipe.cc) [C:\Users\Nagarjuna\AppData\Roaming\npm\node
modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
(......\deps\winpty\agent\SmallRect.cc) [C:\Users\Nagarjuna\AppData\Roaming\npm\node
modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
......\deps\winpty\agent\NamedPipe.cc(153): error C2039: 'min' : is not a member of
'std' [C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_modules\pty.js
build\deps\winpty\winpty-agent.vcxproj]
......\deps\winpty\agent\NamedPipe.cc(153): error C3861: 'min': identifier not found
[C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_modules\pty.js\build
\deps\winpty\winpty-agent.vcxproj]
......\deps\winpty\agent\NamedPipe.cc(222): error C2039: 'min' : is not a member of
'std' [C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_modules\pty.js
build\deps\winpty\winpty-agent.vcxproj]
......\deps\winpty\agent\NamedPipe.cc(222): error C3861: 'min': identifier not found
[C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_modules\pty.js\build
\deps\winpty\winpty-agent.vcxproj]
......\deps\winpty\agent\NamedPipe.cc(229): error C2039: 'min' : is not a member of
'std' [C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_modules\pty.js
build\deps\winpty\winpty-agent.vcxproj]
......\deps\winpty\agent\NamedPipe.cc(229): error C3861: 'min': identifier not found
[C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_modules\pty.js\build
\deps\winpty\winpty-agent.vcxproj]
Terminal.cc
Win32Console.cc
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
(......\deps\winpty\agent\Terminal.cc) [C:\Users\Nagarjuna\AppData\Roaming\npm\node

modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
(......\deps\winpty\agent\Win32Console.cc) [C:\Users\Nagarjuna\AppData\Roaming\npm\n
ode_modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
main.cc
DebugClient.cc
winpty.cc
DebugClient.cc
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C
4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
(......\deps\winpty\libwinpty\winpty.cc) [C:\Users\Nagarjuna\AppData\Roaming\npm\nod
e_modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty.vcxproj]
......\deps\winpty\libwinpty\winpty.cc(155): warning C4800: 'BOOL' : forcing value t
o bool 'true' or 'false' (performance warning) [C:\Users\Nagarjuna\AppData\Roaming\npm
\node_modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty.vcxproj]
......\deps\winpty\libwinpty\winpty.cc(158): warning C4800: 'BOOL' : forcing value t
o bool 'true' or 'false' (performance warning) [C:\Users\Nagarjuna\AppData\Roaming\npm
\node_modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty.vcxproj]
......\deps\winpty\libwinpty\winpty.cc(237): warning C4800: 'BOOL' : forcing value t
o bool 'true' or 'false' (performance warning) [C:\Users\Nagarjuna\AppData\Roaming\npm
\node_modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty.vcxproj]
......\deps\winpty\libwinpty\winpty.cc(296): warning C4800: 'BOOL' : forcing value t
o bool 'true' or 'false' (performance warning) [C:\Users\Nagarjuna\AppData\Roaming\npm
\node_modules\tty.js\node_modules\pty.js\build\deps\winpty\winpty.vcxproj]
Creating library C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node

modules\pty.js\build\Release\winpty.lib and object C:\Users\Nagarjuna\AppData\Roamin
g\npm\node_modules\tty.js\node_modules\pty.js\build\Release\winpty.exp
Generating code
Finished generating code
winpty.vcxproj -> C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_mo
dules\pty.js\build\Release\winpty.dll
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe failed with
exit code: 1
gyp ERR! stack at ChildProcess.onExit (c:\Program Files (x86)\nodejs\node_modules\n
pm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "c:\Program Files (x86)\nodejs\node_modules\npm\node_modul
es\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_modules\pt
y.js
gyp ERR! node -v v0.10.31
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

ws@0.4.32 install C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_mod
ules\socket.io\node_modules\socket.io-client\node_modules\ws
(node-gyp rebuild 2> builderror.log) || (exit 0)

C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_modules\socket.io\node_
modules\socket.io-client\node_modules\ws>node "c:\Program Files (x86)\nodejs\node_modul
es\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build, please
add the "/m" switch.
bufferutil.cc
C:\Users\Nagarjuna.node-gyp\0.10.31\deps\v8\include\v8.h(179): warning C4506: no defi
nition for inline function 'v8::Persistentv8::Object v8::Persistentv8::Object::New
(v8::Handlev8::Object)' [C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js
node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\bufferutil.
vcxproj]
Creating library C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_
modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\Release\buffer
util.lib and object C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_
modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\Release\buffer
util.exp
Generating code
Finished generating code
bufferutil.vcxproj -> C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\nod
e_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\Release\buf
ferutil.node
validation.cc
C:\Users\Nagarjuna.node-gyp\0.10.31\deps\v8\include\v8.h(179): warning C4506: no defi
nition for inline function 'v8::Persistentv8::Object v8::Persistentv8::Object::New
(v8::Handlev8::Object)' [C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js
node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\validation.
vcxproj]
Creating library C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_
modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\Release\valida
tion.lib and object C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\node_
modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\Release\valida
tion.exp
Generating code
Finished generating code
validation.vcxproj -> C:\Users\Nagarjuna\AppData\Roaming\npm\node_modules\tty.js\nod
e_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\Release\val
idation.node
npm ERR! pty.js@0.2.3 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pty.js@0.2.3 install script.
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! System Windows_NT 6.2.9200
npm ERR! command "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! cwd C:\Users\Nagarjuna
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Nagarjuna\npm-debug.log
npm ERR! not ok code 0

@gavinr
Copy link

gavinr commented Jan 20, 2015

I get the same thing, when installing a different project (got here from Google). I think this has to do with socket.io.

@BenasPaulikas
Copy link

UP. Any fixes on this ?

@ynagarjuna2012
Copy link
Author

Nope.I have tried going through the source code but unable to figure out what the problem is..

BTW that is too advanced stuff for me so I had leave it and installed Linux ..Work is done 👍

@riatzukiza
Copy link

I also get this error.

@BenasPaulikas
Copy link

@riatzukiza
Please check this link chjj/pty.js#133 (comment)

"iiegor commented 2 days ago
At the moment you can do npm install ptyw.js or use my fixed branch https://github.com/iiegor/pty.js/tree/win-fix"

@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

5 participants