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!

Community
  • 1
  • 1
andli
  • 301
  • 5
  • 14
  • 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 '11 at 10:58
  • I agree and will try that. Download the tarball from here http://code.google.com/p/waf/ and compile I guess. Crossing fingers. – andli Dec 30 '11 at 20:43

5 Answers5

10

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

Jose A. Martín
  • 126
  • 1
  • 3
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).

Community
  • 1
  • 1
roufamatic
  • 18,187
  • 7
  • 57
  • 86
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!

griffon vulture
  • 6,594
  • 6
  • 36
  • 57
-1

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

Predhin
  • 51
  • 2
-3

Well. and now npm install nodejs-dev fail

murvinlai
  • 48,919
  • 52
  • 129
  • 177