mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-16 20:33:58 +02:00
![Marko Ratkaj](/assets/img/avatar_default.png)
Changes: Version bump to 8.10.0 Refreshed patches Added npx install Added 004-node_crypto-remove-std.patch Additional patch fixes node_cypto compile failure: ./src/node_crypto.cc:5626:32: error: expected unqualified-id before '(' Signed-off-by: Arturo Rinaldi <arty.net2@gmail.com> Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
13 lines
398 B
Diff
13 lines
398 B
Diff
--- a/lib/module.js
|
|
+++ b/lib/module.js
|
|
@@ -714,7 +714,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'));
|