node.js MongoDB Mongoose - RangeError: Maximum call stack size exceeded

2,160 views
Skip to first unread message

VJ

unread,
Jun 10, 2012, 11:25:28 PM6/10/12
to mongod...@googlegroups.com
Hello.  I'm encountering this error -- "RangeError: Maximum call stack size exceeded" -- when I run a node.js app that dynamically generates a map/reduce query.  I do NOT get this error when I hard code the same map/reduce query.  I'm running on CentOS, and have the latest npm modules (per npm update).
Any ideas?  Thanks in advance.

VJ

unread,
Jun 11, 2012, 1:50:51 PM6/11/12
to mongod...@googlegroups.com
Issue resolved.  I had been trying to pass a complex JSON object, using Scope, to my Map function.  To resolve issue, I switched to passing simple arrays.
Reply all
Reply to author
Forward
0 new messages