astro/node-expat — Issue #28: update or install of 1.4.3 fails with npm
Author: thomasfr
Created: 2012-01-24 11:27:43+00:00
State: open

```
> node-expat@1.4.3 install /home/thomas/foo/node_modules/node-xmpp/node_modules/node-expat
> node-waf configure build

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 : ok /usr/lib/node_modules
Checking for node prefix : ok /home/thomas/.nvm/v0.6.8
Checking for header expat.h : yes
'configure' finished successfully (0.143s)
Waf: Entering directory `/home/stephan/programming/node-expat/build'
Waf: Leaving directory `/home/stephan/programming/node-expat/build'
Traceback (most recent call last):
File "/home/thomas/.nvm/v0.6.8/bin/node-waf", line 16, in
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
File "/home/thomas/.nvm/v0.6.8/bin/../lib/node/wafadmin/Scripting.py", line 145, in prepare
prepare_impl(t, cwd, ver, wafdir)
File "/home/thomas/.nvm/v0.6.8/bin/../lib/node/wafadmin/Scripting.py", line 135, in prepare_impl
main()
File "/home/thomas/.nvm/v0.6.8/bin/../lib/node/wafadmin/Scripting.py", line 188, in main
fun(ctx)
File "/home/thomas/.nvm/v0.6.8/bin/../lib/node/wafadmin/Scripting.py", line 386, in build
return build_impl(bld)
File "/home/thomas/.nvm/v0.6.8/bin/../lib/node/wafadmin/Scripting.py", line 405, in build_impl
bld.compile()
File "/home/thomas/.nvm/v0.6.8/bin/../lib/node/wafadmin/Build.py", line 268, in compile
os.chdir(self.bldnode.abspath())
OSError: [Errno 2] No such file or directory: '/home/stephan/programming/node-expat/build'
npm ERR! error installing node-expat@1.4.3
npm ERR! error installing node-xmpp@0.3.1

npm ERR! node-expat@1.4.3 install: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the node-expat@1.4.3 install script.
npm ERR! This is most likely a problem with the node-expat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls node-expat
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.38-13-generic
npm ERR! command "node" "/home/thomas/.nvm/v0.6.8/bin/npm" "update"
npm ERR! cwd /home/thomas/foo
npm ERR! node -v v0.6.8
npm ERR! npm -v 1.1.0-2
npm ERR! code ELIFECYCLE
npm ERR! message node-expat@1.4.3 install: `node-waf configure build`
npm ERR! message `sh "-c" "node-waf configure build"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/thomas/foo/npm-debug.log
npm not ok
```