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!

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.
    – fent
    Dec 29, 2011 at 10:58
  • I agree and will try that. Download the tarball from here code.google.com/p/waf and compile I guess. Crossing fingers.
    – andli
    Dec 30, 2011 at 20:43

5 Answers 5

10

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

0
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).

2
  • Had the same setting (Ubuntu VM), so the combination of both answers worked for me. Mar 16, 2012 at 10:15
  • @roufamatic shouldn't it be git-core at the end of the first command? You're missing the - :D
    – beerBear
    Sep 18, 2013 at 10:13
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!

-1

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

-3

Well. and now npm install nodejs-dev fail

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.