Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

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

Description

@charliecode

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
✖️ 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

  • Lumber Package Version: latest
  • Database Dialect: mongoDB
  • Database Version: 4.0.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions