isaacs/npm — Issue #1872: rebuild tries to build in the wrong directory
Author: wavded
Created: 2011-12-12 16:20:33+00:00
State: open

On my local machine my node-canvas module is at:

```
/home/wavded/Projects/adn/node_modules/canvas
```

On my deployment machine it is at

```
/var/www/adn/node_modules/canvas
```

After `rsync`ing my files to the deployment machine, and `cd`ing to the directory and running `npm rebuild`, it tries to build the files in `/home/wavded/Projects/adn/node_modules/canvas/build`, I would expect it to use `/var/www/adn/node_modules/canvas/build`