chjj / tty.js

A terminal for your browser, using node/express/socket.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows install broken

harrypujols opened this issue · comments

First, I realized I needed Python installed, and you know Windows doesn't have it pre-installed. Then I had to fix Python's PATH. Once I set it up and finally ran the Python script, it threw me this error:

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.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "tty.js"
npm ERR! cwd C:\Windows\System32\WindowsPowerShell\v1.0
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR! Error: EPERM, open 'C:\Windows\System32\WindowsPowerShell\v1.0\npm-debu
g.log'
npm ERR!  { [Error: EPERM, open 'C:\Windows\System32\WindowsPowerShell\v1.0\npm-
debug.log']
npm ERR!   errno: 50,
npm ERR!   code: 'EPERM',
npm ERR!   path: 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\npm-debug.log'
 }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "tty.js"
npm ERR! cwd C:\Windows\System32\WindowsPowerShell\v1.0
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! path C:\Windows\System32\WindowsPowerShell\v1.0\npm-debug.log
npm ERR! code EPERM
npm ERR! errno 50
npm ERR! stack Error: EPERM, open 'C:\Windows\System32\WindowsPowerShell\v1.0\np
m-debug.log'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Windows\System32\WindowsPowerShell\v1.0\npm-debug.log
npm ERR! not ok code 0

I had tried to install it unsuccessfully in at least two different machines running Windows.

windows

@harrypujols, could you post the npm-debug.log? It looks like npm is trying to read from it to display some more useful output, but it can't because you don't have the proper permissions.

Seems like either it didn't generate an npm-debug.log file, or I can't locate it. I haven't been able to find it.

I wasn't able to locate the global install npm-debug.log, but I tried installing it in a folder, and it indeed generated a file. I don't know how to share it with you, since it's quite long, and I'm not able to paste its contents in this comment.

It's very tedious process to get tty.js using "npm install tty.js" in windows 7. I started with this command in my command prompt. It asked to install python, so I went for python 2.7 installation. Then it is asking me to install Visual Studio 2008, which I can not install.Because this takes lot of time. And I am not sure that works or not after installing Visual Studio 2008. Can someone help please on this ?

I installed python2. I installed Visual Studio 2013. I installed the Windows SDK. And now I'm STILL getting errors beacuse of:

LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib' [C:\Users\Ashley\test\node_modules\tty.js\node_modul 
es\socket.io\node_modules\socket.io-client\node_modules\ws\build\validation.vcxproj]                           

full debug log for me: https://gist.github.com/dualmoon/9fcef33f33a479c526a8