更新:
我尝试将console.log(滴答)转换为cursor.each回调,它打印出每次迭代的数组,因此符号推送正在发生。然而,我仍然得到相同的错误。/mongodb/lib/cursor.js:736:16 at handleCallback (/Users/kevin/Projects/yahooscrape/node_modules/mongodb/lib/utils.js</e
/lib/utils.js:406:9)\n at handleCallback (/eliot-local ):无法读取未定义的属性'n‘-git/node_modules/mongodb/lib/utils.jslib/cursor.js:898:37)\n at AggregationCursor.Cursor.(/eliot-local-git/node