Coder Social home page Coder Social logo

knex-data-api-client's People

Contributors

alan-cooney avatar dependabot[bot] avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

cinqi

knex-data-api-client's Issues

Getting only 'timeout error' on failed exeuctions

Not sure if it's in this implementation or @jeremydaly, but when I issue bad queries (or good queries fail for some reason) I'm only getting 'timeout errors' from Bluebird and not the error itself.

Example:
let result = knex.raw('show blablbalbalbal;')
console.log(result)

TimeoutError: timeout error
    at SubError (/Users/amirbenari/CodeProjects/Silo/metadata-service/node_modules/bluebird/js/release/errors.js:10:49)
    at processTicksAndRejections (internal/process/next_tick.js:81:5)

Migration support?

Apparently this does not support knex migrations?

As PSQL is also GA for Data API, readme should also note that this works for MySQL only :)

npm install fails: npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/alan-cooney/data-api-client.git

Hi @alan-cooney,
I don't know exactly why, but this occurs on our CI during npm install:

npm ERR! path git                                                                                                                                                                                                
npm ERR! code ENOENT                                                                                                                                                                                             
npm ERR! errno ENOENT                                                                                                                                                                                            
npm ERR! syscall spawn git                                                                                                                                                                                       
npm ERR! enoent Error while executing:                                                                                                                                                                           
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/alan-cooney/data-api-client.git                                                                                                                   
npm ERR! enoent                                                                                                                                                                                                  
npm ERR! enoent                                                                                                                                                                                                  
npm ERR! enoent spawn git ENOENT                                                                                                                                                                                 
npm ERR! enoent This is related to npm not being able to find a file.                                                                                                                                            
npm ERR! enoent

I've opened a PR to replace the git link dependency of data-api-client with the version number, so it will be installed through npm and not directly downloading from git.
#4

I hope this will solve the issue.

What do you think?

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.