<somepath>/node_modules/couchbase/lib/binding.js:152
throw new Error('Failed to locate couchnode native binding' +
^
Error: Failed to locate couchnode native binding (maybe check builderror.log!)
at Object.<anonymous> (<somepath>/node_modules/couchbase/lib/binding.js:152:9)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (<somepath>/node_modules/couchbase/lib/couchbase.js:3:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
I also tried installing everything on a linux server, and there everything worked.
I feel I’m getting close, but for some reason the binding on Mac Os X is not working properly.
Thank you for bringing this to our attention. We are investigating this further and will report back on a resolution. It appears, per running a repro I tested, and your resolution posted above, this is specific to node on OSX only.
This is actually related to an issue between MacOS, libcouchbase and Node.js. We have implemented a fix in libcouchbase as of recently, and it should be available in the next Node.js release on the first Tuesday of March.
I have the same error on Windows 7 with Node.js, here is it:
D:\alles\Documents\_tellize\feed\node_modules\couchbase\lib\binding.js:152
throw new Error('Failed to locate couchnode native binding' +
^
Error: Failed to locate couchnode native binding (maybe check builderror.log!)
at Object.<anonymous> (D:\alles\Documents\_tellize\feed\node_modules\couchba
se\lib\binding.js:152:9)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (D:\alles\Documents\_tellize\feed\node_modules\couchba
se\lib\couchbase.js:3:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
What version of Node.js do you have installed? There are known issues with Windows and Node.js 0.12 compatibility at the moment that requires you to have a build environment available to use.
This appears to be an issue with the node-gyp build system rather than our library. Please see the installation instructions for node-gyp to ensure you have everything configured properly.