Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-359

couchbase nodejs client not working on SUSE Linux 11 SP4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • None
    • None
    • None

    Description

      • Operating system version, architecture (32-bit or 64-bit): Suse Linux 11 Sp4 64 bit, Amazon VM
      • What steps led to the failure or error: the node js client installation failed

      We try to install couchbase nodejs client but failed.  ( npm install couchbase)

      ip-10-8-8-110:~/nodejs-test # npm install couchbase
      npm WARN deprecated node-uuid@1.4.7: use uuid module instead
      npm WARN prefer global node-gyp@3.5.0 should be installed with -g
      npm WARN prefer global node-ninja@1.0.2 should be installed with -g

      > couchbase@2.3.0 install /root/nodejs-test/node_modules/couchbase
      > prebuild --install

      module.js:472
      throw err;
      ^

      Error: Cannot find module '/root/nodejs-test/node_modules/couchbase/package.json'
      at Function.Module._resolveFilename (module.js:470:15)
      at Function.Module._load (module.js:418:25)
      at Module.require (module.js:498:17)
      at require (internal/module.js:20:19)
      at Object.<anonymous> (/usr/lib/node_modules/prebuild/bin.js:9:11)
      at Module._compile (module.js:571:32)
      at Object.Module._extensions..js (module.js:580:10)
      at Module.load (module.js:488:32)
      at tryModuleLoad (module.js:447:12)
      at Function.Module._load (module.js:439:3)
      npm ERR! Linux 3.0.101-94-ec2
      npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "couchbase"
      npm ERR! node v7.6.0
      npm ERR! npm v4.3.0
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1

      npm ERR! couchbase@2.3.0 install: `prebuild --install`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the couchbase@2.3.0 install script 'prebuild --install'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the couchbase package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR! prebuild --install
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR! npm bugs couchbase
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR! npm owner ls couchbase
      npm ERR! There is likely additional logging output above.

      npm ERR! Please include the following file with any support request:
      npm ERR! /root/.npm/_logs/2017-03-07T21_21_53_113Z-debug.log

      The log file is attached, please help.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brett19 Brett Lawson
            rchen Robert Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty