Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding as module #5

Closed
schamane opened this issue Jun 4, 2010 · 1 comment
Closed

Binding as module #5

schamane opened this issue Jun 4, 2010 · 1 comment

Comments

@schamane
Copy link

schamane commented Jun 4, 2010

I have little bit difficult folder structure in my project. So if i try to bind mongoose as module it doesn't work. I have to add index.js to the mongoose root folder to get module be load.

Here is my initial index.js file content:
http://gist.github.com/425190

@LearnBoost
Copy link

Fixed. Just add mongoose to the requires paths, and require('mongoose'). See the README for more detailed instructions

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant