summaryrefslogtreecommitdiffstats
path: root/lang/node-homebridge/patches/000-add_module_search_path.patch
blob: 2655036274cbfddb078f4eeaff2fd179154519f2 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/lib/pluginManager.js
+++ b/lib/pluginManager.js
@@ -308,6 +308,7 @@
             else {
                 this.searchPaths.add("/usr/local/lib/node_modules");
                 this.searchPaths.add("/usr/lib/node_modules");
+                this.searchPaths.add("/usr/lib/node");
                 this.searchPaths.add(child_process_1.execSync("/bin/echo -n \"$(npm --no-update-notifier -g prefix)/lib/node_modules\"").toString("utf8"));
             }
         }