You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
410 B

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