I've seen a handful of posts about this issue but the results all seem to be specific to the users configuration. I'm using couchbase db with a express js server. When I run the code locally (windows) it works fine. The database it self is hosted on a linux server. When I deploy the code to our testing environment ( linux ), I'm getting this error when I try to run "node server.js":
/var/www/html/BTRnode/node_modules/couchbase/node_modules/bindings/bindings.js:83
throw 8
Error: /var/www/html/BTRnode/node_modules/couchbase/build/Release/couchbase_impl.node: invalid ELF header
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:364:17)
at ....
I'm completely lost on what to do in this situation. As mentioned before, it seemed to me like all the fixes in other peoples situation was some system configuration. I'm not sure what to post here to help you see any configuration that might help, but I can sure add it if needed. Also if there be a more general solution or error that I'm committing that'd be helpful to know to.
Question: What do I need to do to get this to run?