You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran into this and the fix is to get the capitalization correct. You registered your mongo models as 'User' and 'Article', but when you exported them for formage in index.js you used lowercase 'user' and 'article'.
I'm trying to register default users from the project meanjs.org. But if Article has reference to User server fault with error:
I registered models by this snippet:
And put ./app/models/index.js with:
Changing models order doesn't help.
Where I'm wrong?
The text was updated successfully, but these errors were encountered: