mirror of https://github.com/nodejs/node.git
Add .node_moudles to lookup path again
parent
a375c6ae9a
commit
183f6c2077
|
@ -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"]) {
|
||||
|
|
Loading…
Reference in New Issue