ForestAdmin / lumber

Install Forest Admin in minutes.
https://www.forestadmin.com
MIT License
2.08k stars 106 forks source link

Lumber generate error: MongoError: value too large to reduce #418

Open charliecode opened 4 years ago

charliecode commented 4 years ago

Expected behavior

Expect the lumbar generate to complete

Actual behavior

Connects successfully to mongoDB but Fails with the error: MongoError: value too large to reduce

Failure Logs

✓ Connecting to your database :heavy_multiplication_x: Analyzing the database

Cannot generate your project. An unexpected error occurred. Please reach out for help in our Slack community or create a Github issue with following error: MongoError: value too large to reduce (node:1963) UnhandledPromiseRejectionWarning: MongoError: value too large to reduce at Connection. (/Users/homefolder/.nvm/versions/node/v10.16.3/lib/node_modules/lumber-cli/node_modules/mongodb/lib/core/connection/pool.js:466:61) at Connection.emit (events.js:198:13) at processMessage (/Users/homefolder/.nvm/versions/node/v10.16.3/lib/node_modules/lumber-cli/node_modules/mongodb/lib/core/connection/connection.js:364:10) at TLSSocket. (/Users/homefolder/.nvm/versions/node/v10.16.3/lib/node_modules/lumber-cli/node_modules/mongodb/lib/core/connection/connection.js:533:15) at TLSSocket.emit (events.js:198:13) at addChunk (_stream_readable.js:288:12) at readableAddChunk (_stream_readable.js:269:11) at TLSSocket.Readable.push (_stream_readable.js:224:10) at TLSWrap.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) (node:1963) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:1963) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Context