You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new in node js and I'm trying to integrate node-postgres package, which requires node-pool package but I'm having some errors. Could somebody please help me?
W20140324-12:49:25.508(-6)? (STDERR) /Users/crowdint/.meteor/tools/8e197f29c5/lib/node_modules/fibers/future.js:173
W20140324-12:49:25.509(-6)? (STDERR) throw(ex);
W20140324-12:49:25.509(-6)? (STDERR) ^
W20140324-12:49:25.513(-6)? (STDERR) ReferenceError: exports is not defined
W20140324-12:49:25.514(-6)? (STDERR) at app/node_modules/pg/node_modules/generic-pool/lib/generic-pool.js:99:1
W20140324-12:49:25.514(-6)? (STDERR) at app/node_modules/pg/node_modules/generic-pool/lib/generic-pool.js:469:3
W20140324-12:49:25.514(-6)? (STDERR) at /Users/crowdint/projects/kardex/.meteor/local/build/programs/server/boot.js:155:10
W20140324-12:49:25.515(-6)? (STDERR) at Array.forEach (native)
W20140324-12:49:25.515(-6)? (STDERR) at Function._.each._.forEach (/Users/crowdint/.meteor/tools/8e197f29c5/lib/node_modules/underscore/underscore.js:79:11)
W20140324-12:49:25.517(-6)? (STDERR) at /Users/crowdint/projects/kardex/.meteor/local/build/programs/server/boot.js:82:5
This is the file:
exports.Pool=function(factory){varme={},...
I did this change but I'm not sure it's what I have to do.
Do you have some example code and or steps (simpler the better) that reproduces this issue. It's a little hard to work out from those snippets whats going on, and I suspect there is a lot of magic going on in meteor.
Hi guys,
I'm new in node js and I'm trying to integrate node-postgres package, which requires node-pool package but I'm having some errors. Could somebody please help me?
This is the file:
I did this change but I'm not sure it's what I have to do.
I wonder where
exports
it's defined or if there is a problem in the order the files are getting loaded with meteor or somethingThe text was updated successfully, but these errors were encountered: