Missing node-waf when installing nowjs
Asked Answered
R

5

5

This seems like it can be a recent problem since there are new versions out for both node.js and nowjs. When trying to install nowjs on ubuntu 11.04 with node 0.7.0-pre and npm

sudo npm install now -g

I get

/bin/sh: node-waf: not found

and so make of node-proxy fails. Reinstalling node gets me nowhere. A little help please? I have tried #nowjs at freenode, but it is silent...

And yes, I have seen this question, but the answer doesn't make sense to me. node-waf is indeed missing, but how would running the same make install on node again remedy that?

Thanks in advance!

Ribbon answered 28/12, 2011 at 23:42 Comment(2)
My guess would be that node-waf was somehow uninstalled, or removed from the path, or was never installed at all. If I were in your position, I'd give that solution a try.Certitude
I agree and will try that. Download the tarball from here code.google.com/p/waf and compile I guess. Crossing fingers.Ribbon
L
10

Try to install nodejs-dev. node-waf belongs to that package

Leges answered 13/1, 2012 at 15:47 Comment(0)
S
5

I tried to install on a new Ubuntu VM and eventually discovered I needed a C++ compiler. This did the trick for me:

$ sudo apt-get install build-essential libssl-dev curl git core
$ npm install now

via How to compile/install node.js(could not configure a cxx compiler!) (Ubuntu).

Steffen answered 2/2, 2012 at 23:23 Comment(2)
Had the same setting (Ubuntu VM), so the combination of both answers worked for me.Office
@Steffen shouldn't it be git-core at the end of the first command? You're missing the - :DBrigette
S
0

Installing node-waf wasn't helping at all.

I simply upgraded my node version (from 0.4.4 into 0.6.2), problem was resolved!

Sg answered 13/3, 2014 at 12:26 Comment(0)
I
-1

node-waf got changed to node-gyp, node-waf wont be supported in windows.

Imitation answered 22/1, 2014 at 19:55 Comment(0)
R
-3

Well. and now npm install nodejs-dev fail

Riojas answered 15/8, 2012 at 18:52 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.