I am trying to install the couchbase package for a project I am working on and I cant get the npm install to work. I keep getting a syntax error during the install:
gyp ERR! stack Error: Command failed: C:\Users\wende\AppData\Local\Programs\Python\Python37\python.EXE -c import sys; print “%s.%s.%s” % sys.version_info[:3];
gyp ERR! stack File “”, line 1
gyp ERR! stack import sys; print “%s.%s.%s” % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
I am running windows 10 Home 64 bit OS and just installed the newest version of python, npm, and VSCode
to add on to the error I also get
gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Users\wende\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “rebuild”
gyp ERR! cwd C:\Users\wende\AppData\Roaming\npm\node_modules\couchbase
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install:
prebuild-install || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.