Thanks for the help. I'm now having problems with the export. In app.js I export db. In the other module I attempt to use it.
https://gist.github.com/4076308 When I require db the variable is undefined. Any suggestions? On Wed, Nov 14, 2012 at 5:53 PM, Forrest L Norvell <[email protected]>wrote: > On Wednesday, November 14, 2012 at 5:46 PM, Ken Koontz wrote: > > Thanks! How do I reveal it? > > Either via util.inspect() or console.error("db: %j", db). > > F > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
