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

Changing NODE_PATH to backend/. #79

Open
bolak opened this issue Jun 20, 2016 · 0 comments
Open

Changing NODE_PATH to backend/. #79

bolak opened this issue Jun 20, 2016 · 0 comments

Comments

@bolak
Copy link
Contributor

bolak commented Jun 20, 2016

We need to avoid doing this as it changes the NODE_PATH globally on the system. This is super dangerous and can cause inexplainable consequences.

Let's refactor dependencies so that they are properly calling local modules with a relative reference in require().

You can see the code in question here https://github.com/amida-tech/greyscale/blob/current/backend/app.js at line 16.

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