Giter Club home page Giter Club logo

dwingo's People

Contributors

kennethkoontz avatar

Watchers

 avatar  avatar  avatar

dwingo's Issues

TypeError: Object [object Object] has no method 'ObjectId'

setting development context
Express server listening on port 3000

/Users/kenneth/Projects/dwingo/node_modules/mongodb/lib/mongodb/connection/server.js:437
throw err;
^
TypeError: Object [object Object] has no method 'ObjectId'
at exports.findOrCreate (/Users/kenneth/Projects/unified/lib/unified-db.js:65:47)
at Database._readOne (/Users/kenneth/Projects/dwingo/dwingo.js:61:16)
at Collection.findOne (/Users/kenneth/Projects/dwingo/node_modules/mongodb/lib/mongodb/collection.js:957:5)
at Cursor.toArray (/Users/kenneth/Projects/dwingo/node_modules/mongodb/lib/mongodb/cursor.js:155:9)
at Cursor.each (/Users/kenneth/Projects/dwingo/node_modules/mongodb/lib/mongodb/cursor.js:195:11)
at Cursor.nextObject (/Users/kenneth/Projects/dwingo/node_modules/mongodb/lib/mongodb/cursor.js:545:35)
at Cursor.close (/Users/kenneth/Projects/dwingo/node_modules/mongodb/lib/mongodb/cursor.js:776:5)
at Cursor.nextObject (/Users/kenneth/Projects/dwingo/node_modules/mongodb/lib/mongodb/cursor.js:545:17)
at Cursor.nextObject.commandHandler (/Users/kenneth/Projects/dwingo/node_modules/mongodb/lib/mongodb/cursor.js:522:14)
at g (events.js:185:14)

TypeError: Cannot call method 'collection' of undefined

Express server listening on port 3000

/Users/kenneth/Projects/dwingo/dwingo.js:54
this._client.collection(options.collection, function(error, collection) {
^
TypeError: Cannot call method 'collection' of undefined
at Object.Database._readOne (/Users/kenneth/Projects/dwingo/dwingo.js:54:16)
at Database._queueOrExecute (/Users/kenneth/Projects/dwingo/dwingo.js:97:22)
at Database.readOne (/Users/kenneth/Projects/dwingo/dwingo.js:111:8)
at Object.exports.findOrCreate (/Users/kenneth/Projects/unified/lib/unified-db.js:52:6)
at _authenticateOrAuthorize (/Users/kenneth/Projects/unified/routes/auth.js:112:11)
at Request.exports.twitter as _callback
at Request.init.self.callback (/Users/kenneth/Projects/unified/node_modules/request/main.js:122:22)
at Request.EventEmitter.emit (events.js:91:17)
at Request. (/Users/kenneth/Projects/unified/node_modules/request/main.js:661:16)
at Request.EventEmitter.emit (events.js:115:20)

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.