I am trying to run a Node.js Couchbase app using the latest 2.0.1 sdk, but it cannot find the native couchbase driver. Has anyone been able to run an application on OpenShift using the Node.js SDK?
Here is the OpenShift console output that I’m seeing. Any thoughts appreciated, thanks!
==============
DEBUG: Starting child process with ‘node server.js’
/var/lib/openshift/5441857c5004462ff50000fb/app-root/runtime/repo/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. (/var/lib/openshift/5441857c5004462ff50000fb/app-root/runtime/repo/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. (/var/lib/openshift/5441857c5004462ff50000fb/app-root/runtime/repo/node_modules/couchbase/lib/couchbase.js:3:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions…js (module.js:474:10)
DEBUG: Program node server.js exited with code 8