polotek/libxmljs — Issue #111:  require('libxmljs') on OS 10.7 throws Error: Cannot find module '../build/default/libxmljs'
Author: stephenenelson
Created: 2012-02-19 18:15:00+00:00
State: open

I installed the XCode command line tools, and installed without error using npm.

Attempting to use the module throws an error:

Stephen-Nelsons-MacBook-Air:~ stephenenelson$ node
> var libxmljs = require('libxmljs');
Error: Cannot find module '../build/default/libxmljs'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (/Users/stephenenelson/node_modules/libxmljs/lib/bindings.js:6:22)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)