title: Node-waf: not found
body: <p>Here is the thing. My configuration is Ubuntu 13.04, Node.js v0.10.5 and NPM version 1.2.18. </p>
  
  <p>I am trying to install node.js module "shoe" and I got this error:</p>
  
  <pre><code>marek@nassenfuss:/media/tc/examples/node/05.01$ sudo npm install
  npm http GET https://registry.npmjs.org/shoe
  npm http 304 https://registry.npmjs.org/shoe
  npm http GET https://registry.npmjs.org/node-uuid/1.3.3
  npm http GET https://registry.npmjs.org/faye-websocket/0.4.0
  npm http GET https://registry.npmjs.org/rbytes/0.0.2
  npm http 304 https://registry.npmjs.org/node-uuid/1.3.3
  npm http 304 https://registry.npmjs.org/rbytes/0.0.2
  npm http 304 https://registry.npmjs.org/faye-websocket/0.4.0
  
  &gt; rbytes@0.0.2 install /media/tc/examples/node/05.01/node_modules/shoe/node_modules/sockjs/node_modules/rbytes
  &gt; node-waf configure build
  
  sh: 1: node-waf: not found
  npm WARN optional dep failed, continuing rbytes@0.0.2
  shoe@0.0.10 node_modules/shoe
  ├── sockjs-client@0.0.0-unreleasable
  └── sockjs@0.3.1 (node-uuid@1.3.3, faye-websocket@0.4.0)
  marek@nassenfuss:/media/tc/examples/node/05.01$
  </code></pre>
  
  <p>I was googling and I found that node-waf was replaced with node-gyp. I also found that node-waf can be installed with</p>
  
  <pre><code>sudo apt-get install nodejs-dev
  </code></pre>
  
  <p>The problem is that I am using the lastest <a href="https://launchpad.net/~chris-lea/+archive/node.js/">node.js package by Chris Lea</a> which does not include dev anymore. So there are two options to solve the problem.</p>
  
  <p>First, I could install node-waf (from source?), but I do not how.</p>
  
  <p>Second, I could (manually) repair the module, but I do not how.</p>
  
  <p>I am looking for any solution.</p>