creationix/topcube — Issue #5: Hardwired topcube bin path wrong
Author: dfellis
Created: 2012-02-09 02:00:17+00:00
State: open

When I add topcube's github tarball URL to a package.json file and let NPM build topcube, the path topcube is put into differs from [what is hardwired.](https://github.com/creationix/topcube/blob/master/topcube.js#L17)

Instead of ``__dirname + '/build/default/topcube'`` it goes to ``__dirname + '/build/Release/topcube'``

I'm not really sure what could be causing this issue, perhaps differing versions of Node? I have node v0.6.10 and node-waf v1.5.16 installed. Is it possible that they changed the compilation directory in the meantime?

As I recall, node-waf is deprecated in favor of [node-gyp](https://github.com/TooTallNate/node-gyp). Perhaps the solution is to migrate from waf to gyp?