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

Nowjs fails on install #195

Open
ghost opened this issue Apr 18, 2012 · 7 comments
Open

Nowjs fails on install #195

ghost opened this issue Apr 18, 2012 · 7 comments

Comments

@ghost
Copy link

ghost commented Apr 18, 2012

When I'm installing nowjs in my computer (Windows 7). I write "npm install now" and it just throws an error. There's a part where it is saying "npm ERR! [email protected] install: 'make' "

I think the problem is that it is running
"npm install node-proxy"

and I think that it should be
"npm install nodejs-proxy"

PS:Sorry about my poor English but I'm from Spain

@steveWang
Copy link
Contributor

Try installing from the windows branch here on github -- npm install https://github.com/Flotype/now/zipball/windows should do what you want.

The problem is that node-proxy relies on a C++ extension, and so you generally can't install it without cygwin (or something -- I haven't used Windows for development in a while). In that branch, the binary's already compiled and ready to go.

@meaku
Copy link

meaku commented Apr 23, 2012

I had a similar problem, caused by a missing compiler..
I just installed the build-essentials and everything worked fine!

http://stackoverflow.com/questions/3329355/node-js-could-not-configure-a-cxx-compiler-ubuntu

@steveWang
Copy link
Contributor

Eh, not quite the same -- chusb40 seems to be on Windows as opposed to Linux.

Also, a bit has changed in Node in the past year (native Windows support, esp).

@meaku
Copy link

meaku commented Apr 23, 2012

I had this problem on linux, right..
But the first hint from @chusb40 is wrong.

@ghost
Copy link
Author

ghost commented Apr 23, 2012

I have finally solve this issue by manually putting all the files in the nodejs modules folder. But I have also try to install nowjs on an other computer (also Windows 7) and I'm just getting exactly the same error.

@ghost ghost closed this as completed Apr 23, 2012
@ghost ghost reopened this Apr 23, 2012
@steveWang
Copy link
Contributor

Um. Did the command I posted earlier work?

@andrecaribe
Copy link

I get same problem on Mac OS X. For me it worked like this...

You need to install node-proxy before.

  1. Install node-gyp
  2. Download node-proxy zip file. See https://github.com/samshull/node-proxy
  3. Use node-gyp do compile node-proxy. See https://github.com/TooTallNate/node-gyp
  4. Install now

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