question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[*] MongoDB Atlas - Does not work with Free plan (mapReduce() function not allowed)

See original GitHub issue

I have a FREE MongoDB Atlas account and during Lumber generate it thrown the following error:

error: 💀 Oops, operation aborted 💀 due to the following error: message=CMD_NOT_ALLOWED: mapreduce, stack=MongoError: CMD_NOT_ALLOWED: mapreduce

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
louisteenbrinkcommented, May 18, 2020

@saifsmailbox98 we don’t have an ETA for this, unfortunately. However, you’ll find a workaround in our help center.

You can do a local installation (using a local DB to mirror the atlas one) to generate your project and then change the data source from local to the Atlas DB. (The idea is to bypass Atlas limitation to still be able to generate a project locally, and then plug it to the remote DB).

0reactions
Scra3commented, Dec 31, 2021

Hello, this issue is fixed since this release

Read more comments on GitHub >

github_iconTop Results From Across the Web

Does not work with Free plan (mapReduce() function not ...
I have a FREE MongoDB Atlas account and during Lumber generate it thrown the following error: error: Oops, operation aborted...
Read more >
Atlas M0 (Free Cluster), M2, and M5 Limitations - MongoDB
The following table lists the configuration limitations of Atlas M0 free clusters and ... You can't upgrade the MongoDB version that M0/M2/M5 clusters...
Read more >
Serverless Instance Limitations — MongoDB Atlas
Serverless instances don't support the allowDiskUse option for the aggregation command, its helper method, or the cursor.allowDiskUse() query cursor method.
Read more >
db.collection.mapReduce() — MongoDB Manual
The map function should not access the database for any reason. The map function should be pure, or have no impact outside of...
Read more >
mapReduce — MongoDB Manual
The mapReduce command allows you to run map-reduce aggregation operations over a ... The map function should not access the database for any...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found