Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing node-waf when installing nowjs

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!

like image 802
andli Avatar asked Dec 28 '11 23:12

andli


2 Answers

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

like image 78
Jose A. Martín Avatar answered Sep 30 '22 06:09

Jose A. Martín


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

like image 30
roufamatic Avatar answered Sep 30 '22 07:09

roufamatic