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