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

Not able to install DevTools Terminal on Window 7 #9

Closed
anup4khandelwal opened this issue Dec 9, 2013 · 8 comments
Closed

Not able to install DevTools Terminal on Window 7 #9

anup4khandelwal opened this issue Dec 9, 2013 · 8 comments
Labels

Comments

@anup4khandelwal
Copy link

When I install devtools-terminal by following command
npm install -g devtools-terminal

I get below error.

C:\Users\Anup\node_modules\devtools-terminal\node_modules\socket.io\node_modules
\socket.io-client\node_modules\ws>node "C:\nodejs\node_modules\npm\bin\node-gyp-
bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
npm ERR! not ok code 0

Thanks,
Anup

@vnabet
Copy link

vnabet commented Dec 10, 2013

You have to install python.

@gelus
Copy link

gelus commented Dec 13, 2013

Does the version matter?

I'm windows 7 as well and have just had a go with 3.3 and 2.7.
Both produced errors.

@konstantinos-tsatsarounos

Same! Both python versions, windows 7!

@kozie
Copy link

kozie commented Jan 9, 2014

Installed Python 3.3.3, added it to PATH so i could run the command python from CMD and that also works but i still get the same error as before while running npm install -g devtools-terminal.

EDIT
It seems installing Python 2.7.x did the trick.. But now i'm getting the VCBuild.exe error.. sigh -_-'

@gelus
Copy link

gelus commented Jan 20, 2014

I've been getting an error at the same place as anup. after a fair bit of Googling I was directed to https://github.com/TooTallNate/node-gyp#installation and recommend to install MS visual studio, as well as a 64 bit sdk. That was all and well but proved relatively fruitless.

The command line did instruct me to tell the author that "this" (see below) fails on my system:
image

I hope this is helpful. Thanks

@petethepig
Copy link
Owner

Disclaimer: I'm not a big Windows guru, so this maybe not the best approach.

I managed to install devtools-terminal on Windows 7 x64. What I did:

  • Installed node.js 32bit version
  • Installed python 2.7
  • Installed Visual Studio 2010 Express
  • npm install -g devtools-terminal

@petethepig
Copy link
Owner

Also, since these compiler errors are being produced by pty.js library, I suggest everyone who's having problems with installing pty.js on Windows to report issues directly to pty.js maintainers: https://github.com/chjj/pty.js/issues

@meiriko
Copy link

meiriko commented Jul 10, 2014

Hi gelus

I ran into similar problems on Win7 x64 (mongoose in my case). After digging for quite a while I found that your sdk has to be set properly first. To do this, open a command prompt and navigate to:
C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin
(or the sdk you have installed).
Then type SetEnv.cmd /? (or .\SetEnv.cmd).
This will enable you to set the environment properly (I chose /X64 /Release). Next, from within the same cmd prompt, navigate to the directory you want to install node modules in and type your command (for example, npm install mongoose). You might still get warnings (yellow text) yet the errors should be gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants