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

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