Coder Social home page Coder Social logo

couchbase-promises's People

Contributors

bentonam avatar codemouse avatar dsfields avatar goatandsheep avatar koellcode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

couchbase-promises's Issues

Authentification fail to Windows Couchbase Server 5.0.1 build 5003

Hi,

I recently started a Node project with Couchbase and implemented my own promise system for Couchbase. I just found out about this package which seems well implemented but I encounter a weird bug.

I use the same credential as when I was using couchbase offical package (all was running smoothly) but when I try to reuse the exact same credentials with couchbase-promises, I received the following error:
CouchbaseError: Authentication failed. You may have provided an invalid username/password combination.

  1. I uninstalled couchbase before installing couchbase-promises => Failure
  2. I retried to query the database with only couchbase package on my Couchbase Server 5.0.1 => Success
  3. I tried both couchbase and couchbase-promises on an other Couchbase Server (Linux 4.5.1-2844 Community Edition (build-2844)) with the same query but other credentials => Success in both cases
  4. I retried to query with couchbase and couchbase-promises on Couchbase server Windows => Success with couchbase package but not couchbase-promises

I always receive the Authentication Failed error in case of failure.

I also reported the issue on the couchbase forums

Thank you for taking the time to read the issue \o/

Node: 8.9.4
Couchbase server: 5.0.1 build 5003 Windows
couchbase-promises: ^4.3.0
OS: Windows 10

ES6 support?

I was wondering if this library can work with ES6 directly, without using a polyfill.

Cheers!

SearchQuery

Add SearchQuery:

  • + lib/couchbase.js:9 SearchQuery: couchbase.Mock.SearchQuery,
  • + lib/couchbase.js:22 SearchQuery: couchbase.SearchQuery,

Almost every async function throwing error

Whenever calling any async function, its throwing TypeError: Second argument needs to be an object or callback., workaround for now is to pass empty object as second argument.

on SUSE linux 11 SP4, npm install couchbase-promises failed

ip-10-8-8-110:~/# npm install couchbase-promises
npm WARN deprecated [email protected]: use uuid module instead
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g

[email protected] install /root/nodejs-test/node_modules/couchbase
prebuild --install

sh: prebuild: command not found
npm ERR! Linux 3.0.101-94-ec2
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "couchbase-promises"
npm ERR! node v7.6.0
npm ERR! npm v4.1.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! [email protected] install: prebuild --install
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] 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/nodejs-test/npm-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.