Installation Problem on Windows 2016 Server with NodeJS v 10.7.0


#1

My NodeJS setup works fine with all other modules then Couchebase SDK.
I tried to install npm install couchbase and i ended up with a bunch of python errors. Then i installed
npm install --global --production windows-build-tools in hope that would fix it but still no go.

Here is the printout of my last attempts, when i install an older SDK version it completes with errors but it does not work.

When i run the sample code i get this error
Z:\CRM-NodeJS\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. (Z:\CRM-NodeJS\node_modules\couchbase\lib\binding.js:152:9)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (Z:\CRM-NodeJS\node_modules\couchbase\lib\couchbase.js:3:15)
at Module._compile (internal/modules/cjs/loader.js:702:30)

Install Log Files’

installlog-2.5.1.zip (1.3 KB)

installlog-2.0.1.zip (3.6 KB)


#2

As great as Couchbase is, it might make a lot of sense to update the docs and reflect whats required.In the Node JS install it does no where say Java is required. If you dig deeper in the Java SDK it says needs Java installed. Once installed the errors go away. Simple thing to keep basic info up to date


#3

Thanks for the feedback. We’ve created https://issues.couchbase.com/browse/DOC-4078 to track the documentation update.