-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Incorrect module loading in cluster mode with NODE_PATH #1146
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
Labels
Comments
+1 |
1 similar comment
+1 |
Bug confirmed. Working on it :) |
+1 |
|
All is ok 👍 Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OS - Ubuntu 14.04.1 LTS
Node.js - 0.12.0
pm2 - 0.12.9
For example, I have two apps "pm2" and "main" with similar structure:
app.js:
apps.json:
lib/logger.js:
Logs:
Everything is good: logger was loaded from "pm2" directory.
Logs:
NODE_PATH is correct, but logger was loaded from "pm2" directory. So previous value of NODE_PATH was used, not current
The text was updated successfully, but these errors were encountered: