Reputation: 41
I am attempting to install the Node.js SDK for Couchbase on a Windows 7 machine. I am running the installation by typing npm install --save couchbase
into a command prompt window. I have received mixed results from my attempts. My results are below.
Versions for Which the Installation Works Well
Versions for Which the Installation Generates Multiple Compilation Errors
Do you know with which versions of Node.js the Node SDK for Couchbase is compatible?
Upvotes: 2
Views: 308
Reputation: 41
After trying several potential solutions, I have been able to get the Node.js SDK for Couchbase to install on my machine over Node.js 6.0.0. I am sharing the information below, in case anyone else is experiencing the same issue. These steps seem to have resolved the problem for me.
nvm use 6.0.0
or nvm install 6.0.0
)npm config set msvs_version=2013
npm config get msvs_version
to confirm that I got 2013 by setting the value in the previous stepnpm config set python <path_to_the_python_executable>
e.g. npm config set c:\Python27\python.exe
npm config get python
to confirm that I got the value I typed in the previous stepnpm install couchbase
Some additional information is available in this thread on the Couchbase forum.
Upvotes: 1