balderdashy / balderdashy/sails
info: Starting app... error: A hook (`orm`) failed to load! error: error: Error: A model (`user`) references a datastore which cannot be found (`myMongoDb2`). If this model definition has an explicit `datastore` property, check that it is spelled correctly. If not, check your default `datastore` (usually located in `config/models.js
Open
more info please
- Dominant language
- JavaScript
- Stars
- 22.8k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
**Sails version**:
**Node version**:
**NPM version**:
**DB adapter name**: N/A
**DB adapter version**: N/A
**Operating system**:
Contributor guide
Research direction
Start by checking the model's datastore setting and the default datastore in config/models.js, as named in the error. The issue omits Sails, Node, npm, adapter, and operating-system versions and provides no reproduction steps, so first collect those details and reproduce the startup failure. Done means identifying and documenting a confirmed cause and regression-tested fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100