|
|
@ -1,6 +1,6 @@ |
|
|
|
--- a/lib/internal/modules/cjs/loader.js
|
|
|
|
+++ b/lib/internal/modules/cjs/loader.js
|
|
|
|
@@ -1184,7 +1184,8 @@ Module._initPaths = function() {
|
|
|
|
@@ -1202,7 +1202,8 @@ Module._initPaths = function() {
|
|
|
|
path.resolve(process.execPath, '..') : |
|
|
|
path.resolve(process.execPath, '..', '..'); |
|
|
|
|
|
|
@ -9,4 +9,4 @@ |
|
|
|
+ path.resolve(prefixDir, 'lib', 'node_modules')];
|
|
|
|
|
|
|
|
if (homeDir) { |
|
|
|
paths.unshift(path.resolve(homeDir, '.node_libraries')); |
|
|
|
ArrayPrototypeUnshift(paths, path.resolve(homeDir, '.node_libraries')); |