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

npm install failed under windows #47

Closed
slifin opened this issue Jul 26, 2015 · 6 comments
Closed

npm install failed under windows #47

slifin opened this issue Jul 26, 2015 · 6 comments

Comments

@slifin
Copy link

slifin commented Jul 26, 2015

here is npm-debug.log
http://pastebin.com/pfgVDBrf

@octalmage
Copy link
Owner

Hmm I've seen this before but I'm not sure what causes it. I can't remeber what I had to install if anything to get RobotJS to build under Windows. I'll try to take a look tonight.

@Deltatiger
Copy link
Collaborator

I seem to be able to build this just fine. I did get an error for Python but a simple --python switch fixed it.
BTW I build using npm install robotjs --python=C:\Python27 (just to be clear. I may have done it differently)

@Deltatiger
Copy link
Collaborator

Seems to be an issue with install nan? The error logs dont make much sense to me though 😄

@octalmage
Copy link
Owner

Yeah it's very confusing. @slifin, could you give us the console output from npm install robotjs? I'm more familiar with what those errors mean. :p

Thanks!

@octalmage
Copy link
Owner

Looks like on Windows you need:

  • Python (v2.7.3 recommended, v3.x.x is not supported.
  • Visual Studio 2013 (Express works fine!).

These are required for node-gyp to work correctly.

https://github.com/TooTallNate/node-gyp

I'm working on getting the readme updated.

@octalmage
Copy link
Owner

I got the readme updated to link to the node-gyp readme:

https://github.com/TooTallNate/node-gyp/#installation

if you're still having issues after installing the requirements please let me know!

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

No branches or pull requests

3 participants