小编Rea*_*ndy的帖子

Meteor mongo find() UnhandledPromiseRejectionWarning, maximum call stack size exceeded

I'm having a strange error while doing a mongodb find in my meteor app. The error being shown in the console is:

(node:20388) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2):
RangeError: Maximum call stack size exceeded
Run Code Online (Sandbox Code Playgroud)

I've googled and found a couple of similar instances, but my circumstances are different and not tied to data size -- it's a very simple query and happens no matter what the query contents are.

On the client side, I do this:

Meteor.call( 'Things.search', …
Run Code Online (Sandbox Code Playgroud)

mongodb meteor

5
推荐指数
1
解决办法
803
查看次数

标签 统计

meteor ×1

mongodb ×1