Skip to content

Instantly share code, notes, and snippets.

@FLYBYME
Created August 6, 2011 16:53
Show Gist options
  • Save FLYBYME/1129510 to your computer and use it in GitHub Desktop.
Save FLYBYME/1129510 to your computer and use it in GitHub Desktop.
../timestamp.cc:6:25:../long.cc:6:25: error: ../code.cc:6:25: ../dbref.cc:6:25: error: node_events.h: No such file or directorynode_events.h: No such file or directory
error: node_events.h: No such file or directory
error:
node_events.h: No such file or directory
../bson.cc:7:25: error: node_events.h: No such file or directory
../binary.cc:7:25:../objectid.cc:6:25: error: error: node_events.h: No such file or directory
node_events.h: No such file or directory
../long.cc:18: warning: this decimal constant is unsigned only in ISO C90
../long.cc:19: warning: this decimal constant is unsigned only in ISO C90
../bson.cc:43: warning: this decimal constant is unsigned only in ISO C90
../bson.cc:1570: warning: integer constant is too large for 'long' type
../bson.cc:1570: warning: integer constant is too large for 'long' type
../timestamp.cc:18: warning: this decimal constant is unsigned only in ISO C90
../timestamp.cc:19: warning: this decimal constant is unsigned only in ISO C90
In file included from ../bson.cc:15:
../bson.h:11: error: expected class-name before '{' token
../bson.h: In constructor 'BSON::BSON()':
../bson.h:13: error: class 'BSON' does not have any field named 'EventEmitter'
../bson.cc: In static member function 'static v8::Handle<v8::Value> BSON::New(const v8::Arguments&)':
../bson.cc:85: error: 'class BSON' has no member named 'Wrap'
Killed
@FLYBYME
Copy link
Author

FLYBYME commented Aug 6, 2011

Connecting to localhost:27017

node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot call method 'dropDatabase' of null
at /home/dev/node-mongodb-native/examples/simple.js:19:6
at /home/dev/node-mongodb-native/lib/mongodb/db.js:79:30
at [object Object]. (/home/dev/node-mongodb-native/lib/mongodb/connections/server.js:113:12)
at [object Object].emit (events.js:64:17)
at Array. (/home/dev/node-mongodb-native/lib/mongodb/connection.js:184:14)
at EventEmitter._tickCallback (node.js:126:26)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment