apostrophecms / apostrophecms/apostrophe
Where is the database connection? MongoError: command find requires authentication
- Dominant language
- JavaScript
- Stars
- 4.6k
- Forks
- 650
- Avg merge
- 19h 21m
- Merged PRs (30d)
- 23
Description
I'm really baffled with the setup of this app.
I followed the instructions here, using the CLI method.
https://v3.docs.apostrophecms.org/guide/setting-up.html#creating-a-project
Different to the guide, it installed packages itself, and seemingly create an admin user without prompting.
Then when I `yarn dev` I get "MongoError: command find requires authentication"
And it occurs to me that there was no mention anywhere of putting in database details.
I'm figuring that these docs are badly out of date. What's the state of affairs? Is the project still going?
**Version of Node.js:**
v14.8.1
**Version of MongDB:**
v4.4.3
**Server Operating System:**
Win 10
Contributor guide
Research direction
Start with the setting-up guide at v3.docs.apostrophecms.org/guide/setting-up.html#creating-a-project and reproduce the reported failure with yarn dev using the listed Node.js, MongoDB, and Windows versions. Compare the CLI setup instructions with the current database authentication requirements; done means the guide explains the required database details and a new project can start without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb, node.js
- Domain
- backend, databases, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100