Add .node_moudles to lookup path again

pull/22966/head
Ryan Dahl 2010-11-15 11:20:35 -08:00
parent a375c6ae9a
commit 183f6c2077
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ var module = (function () {
if (process.env["HOME"]) {
modulePaths.unshift(path.join(process.env["HOME"], ".node_libraries"));
modulePaths.unshift(path.join(process.env["HOME"], ".node_modules"));
}
if (process.env["NODE_PATH"]) {