--- a/lib/module.js
|
|
+++ b/lib/module.js
|
|
@@ -625,7 +625,8 @@
|
|
} else {
|
|
prefixDir = path.resolve(process.execPath, '..', '..');
|
|
}
|
|
- var paths = [path.resolve(prefixDir, 'lib', 'node')];
|
|
+ var paths = [path.resolve(prefixDir, 'lib', 'node'),
|
|
+ path.resolve(prefixDir, 'lib', 'node_modules')];
|
|
|
|
if (homeDir) {
|
|
paths.unshift(path.resolve(homeDir, '.node_libraries'));
|
|
|