Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hello world fail #43

Open
donpdonp opened this issue Nov 26, 2016 · 0 comments
Open

hello world fail #43

donpdonp opened this issue Nov 26, 2016 · 0 comments

Comments

@donpdonp
Copy link

donpdonp commented Nov 26, 2016

Hi Arango 3.1.1 appears to be running fine locally. I'm trying to get a hello world going with the node package [email protected]

'use strict'
var arango = require('arango')

let db = arango.Connection()

console.log('db list')
db.database.list().done(function(res){
  console.log("collections: ");
})

but when it runs, a confusing error message is thrown

$ node arango.js 
db list

/home/donp/code/cointhink/superpoll/node_modules/arango/node_modules/micropromise/node_modules/microtask/index.js:60
                    throw e;
                    ^
[object Object]

any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant