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
requires parent-require < my-app is grandparent here
I believe the goal is to have my-app (the parent) require mongoose. With the above setup, from parent-require, module.parent is mongoose-schema-users and module.parent.parent is my-app.
Currently, parent-require calls require in module.parent, which is the calling module.
However since it's "parent-require" I think it should be looking in the module's parent, which is module.parent.parent
The text was updated successfully, but these errors were encountered: