polotek/libxmljs — Issue #113: npm install libxmljs fails -- ImportError: No module named Scripting
Author: fijiaaron
Created: 2012-02-23 22:57:21+00:00
State: open

npm install -g libxmljs

> libxmljs@0.5.3 install /usr/local/lib/node_modules/libxmljs
> node-waf configure build

Traceback (most recent call last):
File "/usr/local/bin/node-waf", line 13, in
import Scripting
ImportError: No module named Scripting
npm ERR! error installing libxmljs@0.5.3 Error: libxmljs@0.5.3 install: `node-waf configure build`
npm ERR! error installing libxmljs@0.5.3 `sh "-c" "node-waf configure build"` failed with 1
npm ERR! error installing libxmljs@0.5.3 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing libxmljs@0.5.3 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing libxmljs@0.5.3 at ChildProcess.onexit (child_process.js:192:12)

> libxmljs@0.5.3 preuninstall /usr/local/lib/node_modules/libxmljs
> node-waf clean

Traceback (most recent call last):
File "/usr/local/bin/node-waf", line 13, in
import Scripting
ImportError: No module named Scripting
npm WARN continuing anyway libxmljs@0.5.3 preuninstall: `node-waf clean`
npm WARN continuing anyway `sh "-c" "node-waf clean"` failed with 1
npm ERR! libxmljs@0.5.3 install: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the libxmljs@0.5.3 install script.
npm ERR! This is most likely a problem with the libxmljs 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 libxmljs
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.2.6-3.fc16.i686
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "libxmljs"
npm ERR! cwd /root
npm ERR! node -v v0.4.9
npm ERR! npm -v 1.0.106
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm not ok