Here is the thing. My configuration is Ubuntu 13.04, Node.js v0.10.5 and NPM version 1.2.18.
I am trying to install node.js module \"shoe\" and I got this error:
I haven't had luck getting node-waf on my machine, so I decided to fork the thing and migrate it to node-gyp so that it works.
My fork is at https://github.com/eddydas/node-sleep
To get it work, first make sure you have node-gyp by
$ npm install node-gyp
Then, clone the entire project from GitHub (either by ZIP or Git, it's up to you) and install from it.
$ cd ~
$ wget "https://codeload.github.com/eddydas/node-sleep/zip/master"
$ unzip master
$ cd YOUR_NODE_JS_PROJECT_FOLDER
$ npm install ~/node-sleep-master
I tried my best to make the thing work. If it doesn't go smooth, please feel free to let me know. Hope it helps!