brianc/node-postgres — Issue #102: Possibly an npm hiccup, but ...
Author: jmarca
Created: 2012-03-03 07:16:22+00:00
State: open

Your excellent module is suddenly refusing to install via npm:

```
npm install pg
npm http GET https://registry.npmjs.org/pg
npm http 304 https://registry.npmjs.org/pg
npm http GET https://registry.npmjs.org/generic-pool/1.0.9
npm http 304 https://registry.npmjs.org/generic-pool/1.0.9

> pg@0.6.13 install /home/james/node_modules/pg
> node-waf configure build || (exit 0)

Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
Checking for program pg_config : /usr/bin/pg_config
'configure' finished successfully (0.051s)
Waf: Entering directory `/home/bmc/src/node-postgres/build'
Waf: Leaving directory `/home/bmc/src/node-postgres/build'
Traceback (most recent call last):
File "/usr/local/bin/node-waf", line 16, in
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 145, in prepare
prepare_impl(t, cwd, ver, wafdir)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 135, in prepare_impl
main()
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 188, in main
fun(ctx)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 386, in build
return build_impl(bld)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 405, in build_impl
bld.compile()
File "/usr/local/bin/../lib/node/wafadmin/Build.py", line 268, in compile
os.chdir(self.bldnode.abspath())
OSError: [Errno 2] No such file or directory: '/home/bmc/src/node-postgres/build'
pg@0.6.13 ./node_modules/pg
└── generic-pool@1.0.9
```

Looks like something local on your machine got inside npm repo? but I did a grep for bmc and all I found was

```
grep bmc node_modules/pg/* -R
Binary file node_modules/pg/build/.wafpickle-7 matches
```