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! couchbase@3.0.0-alpha.1 install: prebuild-install || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the couchbase@3.0.0-alpha.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Kinda solved, I installed couchbase version 2.6.2 and it installed successfully. The issue must be with the newer version of the SDK.